Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Right-click menu
Message
From
12/03/1998 08:48:48
 
 
To
11/03/1998 20:49:37
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00083141
Message ID:
00084127
Views:
40
>>>>>>>Edward,
>>>>>>>
>>>>>>>Yeah, they changed the way it worked in VFP5, fixed it acutally, but that classlib needed to stay 3 and 5 compatible thus the version() test.
>>>>>>>
>>>>>>
>>>>>>I just fix the problem using your clue. It looks that it's enough to provide the same font (name,size,style) for _screen and form. Thanks again for your help.
>>>>>
>>>>>Hi, I have problem: After user click the Popup Menu when RightClick in Textbox,
>>>>>the PopupMenu Do not Disappear... How to fix it? Although the PopupMenu is
>>>>>doing some simple Cut, COpy, Paste, Undo action ~_~"
>>>>
>>>>DEACTIVATE POPUP ... will do this.
>>>
>>>Well, where to add it?? Because the last command for rightclick is:
>>>Activate Popup ...
>>>if Deactivate Popup at once, there will be nothing see... >_<"
>>
>>Somewhere your code must contain the following:
>>
>>DEFINE POPUP mypopup .........
>>ON SELECTION POPUP mypopup ........
>>ACTIVATE POPUP mypopup
>>
>>The second line should be one of the following:
>>
>>ON SELECTION POPUP mypopup DEATIVATE POPUP mypopup
>>or
>>ON SELECTION POPUP mypopup DO procedure
>>
>>In procedure you would have DEATIVATE POPUP mypopup HTH
>
>~~><~~ Still Fail...
>My code was:
>DEFINE POPUP CONVERSION FROM CURROW1, CURCOL1 ;
>	TO CURROW2, CURCOL2 MARGIN RELATIVE SHADOW ;
>	COLOR SCHEME 3
>ON SELECTION POPUP CONVERSION ;
>	MESSAGEB("DEACTIVATE POPUP HERE!!")
>
>DEFINE BAR _MED_CUT OF CONVERSION PROMPT '°Å¤U(\<T)' KEY CTRL+X, '^X'
>DEFINE BAR _MED_COPY OF CONVERSION PROMPT '½Æ»s(\<C)' KEY CTRL+C, '^C'
>DEFINE BAR _MED_PASTE OF CONVERSION PROMPT '¶K¤W(\<V)' KEY CTRL+V, '^V'
>DEFINE BAR _MED_SP100 OF CONVERSION PROMPT '\-'
>DEFINE BAR _MED_UNDO OF CONVERSION PROMPT 'ÁÙ­ì(\<Z)' KEY CTRL+Z, '^Z'
>DEFINE BAR _MED_REDO OF CONVERSION PROMPT '­«½Æ(\<R)' KEY CTRL+R, '^R'
>**DEFINE BAR _MED_SP200 OF CONVERSION PROMPT '\-'
>**DEFINE BAR 7 OF CONVERSION PROMPT '¬]°£(\<D)' KEY DEL, 'Del'
>
>ACTIVATE POPUP CONVERSION
>
>There is no messagebox prompt out after I select anyone of above.
>2nd, I fail to use Delete(\>How to add it??
>
>P.s. Sorry for some Chinese wording.

on selection popup conversion frmYourform.processmenu()

***form.processmenu method
** some specific code here
DEACTIVATE POPUP conversion && or DEACTIAVTE MENU
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform