Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limitation to access keys?
Message
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01248066
Message ID:
01248125
Views:
25
>Where is the cursor located when you press the hot-key?
>
>Here is a test form I created.
>
>
>PUBLIC oform1
>
>oform1=NEWOBJECT("form1")
>oform1.Show
>RETURN
>*************************************************
>
>DEFINE CLASS form1 AS form
>
>	Height = 233
>	Width = 375
>	DoCreate = .T.
>	AutoCenter = .T.
>	Caption = "Test Form"
>	Name = "Form1"
>
>   ADD OBJECT label1 AS label WITH ;
>      Caption = "Some Text:", ;
>      Height = 24, ;
>      Left = 12, ;
>      Top = 55, ;
>      Width = 61, ;
>      TabIndex = 5, ;
>      Name = "Label1"
>
>   ADD OBJECT text1 AS textbox WITH ;
>      Height = 37, ;
>      Left = 79, ;
>      TabIndex = 1, ;
>      Top = 48, ;
>      Width = 217, ;
>      Name = "Text1"
>
>   ADD OBJECT cmdNone AS commandbutton WITH ;
>      Top = 96, ;
>      Left = 120, ;
>      Height = 37, ;
>      Width = 145, ;
>      Caption = "Go Nowhere!", ;
>      TabIndex = 2, ;
>      Name = "CmdNone"
>
>   ADD OBJECT cmdLeft AS commandbutton WITH ;
>      Top = 144, ;
>      Left = 12, ;
>      Height = 37, ;
>      Width = 157, ;
>      Caption = "Go \<<", ;
>      TabIndex = 3, ;
>      Name = "CmdLeft"
>
>   ADD OBJECT cmdRight AS commandbutton WITH ;
>	Top = 144, ;
>	Left = 192, ;
>	Height = 37, ;
>	Width = 157, ;
>	Caption = "Go \<>", ;
>	TabIndex = 4, ;
>	Name = "CmdRight"
>
>   ADD OBJECT cmdExit AS commandbutton WITH ;
>      Top = 192, ;
>      Left = 264, ;
>      Height = 37, ;
>      Width = 85, ;
>      Cancel = .T., ;
>      Caption = "Bye!", ;
>      Name = "cmdExit"
>
>   PROCEDURE cmdLeft.Click
>      WAIT WINDOW "Go Left!"
>   ENDPROC
>
>   PROCEDURE cmdRight.Click
>      WAIT WINDOW "Go Right!"
>   ENDPROC
>
>   PROCEDURE cmdexit.Click
>      thisForm.Release
>   ENDPROC
>
>ENDDEFINE
>
What Key combination do you have to press to activate it? And it doesn't look nice anyway, so I don't think it's what Mike is after.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform