Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form Show Form Hide
Message
De
14/02/2003 08:39:17
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
14/02/2003 08:26:30
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00752644
Message ID:
00753171
Vues:
28
>>I had the function at the top of the program - sorry about that.
>>
>>However, I get an error on this line:
>>tcWindowName = Lower(tcWindowName)
>>Error: Function argument value, type, or count is invalid.
>>
>>Since the current Form (form A) is a form set - could that have something to do with the error?
>
>lower() operates on character values. As error message says tcWindowName is not a string. Place this before that line to check (or suspend and invoke debugger what tcWindowName is) :
>
>messagebox(type('tcWindowName')+'/'+trans(tcWindowName))
>
>Cetin

BTW with a formset (formset is not a good idea IMHO) it might need a diffrent code. ie:
*FormB.Activate
thisformset.formA.hide()

*FormB.Unload
thisformset.formA.show()
PS: No checks on exitence and name.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform