Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
FPD25-Foundation Read, Activate Popup & Nesting too deep
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00670909
Message ID:
00671899
Vues:
17
Thanks Sergey for your idea but it's no go. I ended up with the same results.

Is there a was to pause the KEYBOARD (in FPD25) before the kb buffer is stuffed then may be we can allow the procedures to complete and by that time the key board is stuffed and ready to fire.

>Just an idea, maybe you can attach ACTIVATE POPUP .... to the ON KEY LABEL and trigger it with KEYBOARD command.
>
>>Hi all
>>
>>I have an application that uses Foundation read but the limitation to it is that the menu was to be activated by the user. So I put in a KEYBOARD to open the menu and alls well.
>>
>>Now my users have a repetitive request to keep the menu as-is when last selected after I exit the module. Thus enter ACTIVATE POPUP and I have got the results they wanted.
>>
>>Then after opening aroung 5 modules the error Nesting Too Deep crops up. This is because as soon as I ACTIVATE POPUP that particular call is not terminated. This ends up with 3 nesting each for each module I run. Please note I allow multiple modules to be run.
>>
>>My general programming goes something like this:
>>
>>gcDoLine = ""
>>gcPopup = ""
>>gnBar = 0
>>
>>READ VALID IdleLoop()
>>
>>FUNCTION idleloop
>> ...
>> IF !EMPTY(gcDoLine)
>> &gcDoLine.
>> RETURN .F.
>> ENDIF
>>
>> IF !EMPTY(gcPopup) AND gnBar > 0
>> ACTIVATE POPUP ....
>> ENDIF
>>
>> RETURN .F.
>>
>>FUNCTION ExecModule
>> PARAMETER lcDoIt
>>
>> gcPopup = POPUP()
>> gnBar = BAR()
>>
>> gcDoLine = lcDoIt
>>
>> CLEAR READ
>>
>>
>>Please Help.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform