Information générale
Catégorie:
Codage, syntaxe et commandes
Titre:
Browse totally ignored!
I can’t figure out just why the BROWSE in the following code, is totally ignored:
……………………………………………………………………………………………..
SET classlib to main_classes
obasic_info=createobject("xjfs")
obasic_info.show
Release classlib main_classes
* ========================================
DEFINE class xjfs as jfs_form
PROCEDURE commandgroup1.Click
DO case
CASE this.value=11
user_input=""
xthe_crit=""
xmenu=0
* If you put Browse here, it works.
DO form crit_form
BROWSE && Doesn’t work here.
ENDCASE
ENDPROC
ENDDEFINE
……………………………………………………………………………………………..
Yet, if you move the BROWSE to a line right before the “DO form crit_form”, the Browse works just fine!
The crit_form Form only has 4 textboxes on it and a CommandGroup with several buttons. Each of its buttons has a thisform.release in its Click method code. There is no other code on the crit_form.
Any advice would be appreciated.
John Fish
JF Services
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement