Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Hi, Bob-
A. Thanks (was I fishing for a compliment, or what?! :)
B. I suggest you change the cbo so that it does not set the controlsource. The cbo should just look up a value. The way you have it, it is also setting the value. That may be all you need to do...except also refresh the form of course after a selection is made.
C. You can pretty much just modify the classlib, but I don't think that the problem you are having needs any changes to wizstyle.vcx.
>>
>>Hi, Bob-
>>Sick of me yet? < bg >
>>
>>Is the combo bound to a controlsource?
>>BoundTo just affects the value property.
>>You may just need to clear the value of the cbo after you append.
>>
>A. Not nearly. You and this forum add significant value to VFP.
>
>B. The controlSource for the comboBox is the clientID, and it does
>seem to work as I expect, except when I'm adding a new client.
>
>C. It looks like I may need to do some special things right after
>the append takes place, which gets me into the program code for the
>txtbtns, mainly in the addrec method.
>
>So, I'm almost prepared to modify source for a wizbtn class. But
>it seems wise to copy it into a folder within my project and then
>use the copied class on my form. I've discovered that winexplore
>drag&Drop is not the preferred method for this. How would you go
>about copying a class? Do you need the whole wizards folder or
>are there specific files that support wizbtns? Or is there a VFP
>function for this?
>
>Thanks again --
>
>Bob
Précédent
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