![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hallo to All,
does anyone know if it is possible to open the calender control by any option like show or open ? I want to realize by click on a textbox or a button to open the calender view. Michael |
|
|||
|
Erel,
thanks, first step of showing calendar control works fine, but the event never work for example sub calendar1_ValueChanged TextBox1.text=calendar1.value end sub do I have to work in this case also with hardware libary ? From where I can get a list of all possible parameters for the calendar control working with sendmessagetocontrol ? Michael Last edited by mike2ppc : 08-20-2008 at 04:56 PM. |
|
||||
|
Quote:
This event will be raised when the user changes the date value. |
|
|||
|
Hi Erel,
attached you find a small example maybe helps for better understanding of my problem. In this example the control calendar1 is visible=false, when you click on the button1 control beside the TextBox1 Control the Calender1 control opens and now I want to change the date and the result should be display in the TextBox1 control. But no reaction after clicking in the calender control on a different date to today the calender1 control only close but not move throu the event value_changes. Did I something wrong ? Thanks Michael Last edited by mike2ppc : 08-21-2008 at 09:26 AM. |
|
||||
|
You are missing the second message:
Code:
Sub Button1_Click
hw1.SendMessageToControl("Calendar1",513,0,0)
hw1.SendMessageToControl("Calendar1",514,0,0) 'was missing
End Sub
Both are required in order to properly show the calendar. |
|
|||
|
Hi Erel,
now I'm developing on Vista and I got the error message "System.Security.Permissions.SecurityPermissio n" by using hw1.SendMessageToControl("Calendar1",513,0,0) hw1.SendMessageToControl("Calendar1",514,0,0) Do you know about this problem and maybe have a solution for me ? Best Regards Michael |
|
|||
|
it happens in the basic4ppc developing UI desktop and when I start the compiled executeable file then I got message shown in attached printscreen
Translation: DE = Fehler bei der Anforderung des Berechtigungstyps EN = Error by request the authority types When I do right click on executable file and execute as admin it popup with same error message ! |
|
|||
|
Problem solved, it was a authority situation, source folder
located on a seperate drive on physical maschine and I have tied to work with a mapped root from virtual maschine running on physical maschine where source folder. Now I have copied complete source folder directly on the virtual maschine and all works fine. |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| FAX Option? | Jonathon | Basic4ppc Wishlist | 3 | 06-25-2008 07:52 AM |
| Option Explicit | badkarma | Questions & Help Needed | 6 | 06-21-2008 05:08 PM |
| after used showtodayscreen how to show again | blackiice | Questions & Help Needed | 3 | 10-25-2007 04:26 AM |
| keyboard show | bdiscount | Questions & Help Needed | 1 | 09-24-2007 03:21 PM |
| why doesn't my savefile option work? | Stellaferox | Questions & Help Needed | 2 | 06-15-2007 09:15 PM |