Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get Form Name
Message
De
03/11/2008 11:15:42
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
03/11/2008 11:03:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Network:
Windows 2008 Server
Database:
MS SQL Server
Divers
Thread ID:
01359184
Message ID:
01359185
Vues:
28
>Dear Experts
>
>I have following five lines under command1
>
>Local SELE6
>SELE6=0
>
>Define Popup ABC SHORTCUT Relative FROM 4.5,71.5 TO 25,113  Title 'T O O L S'
>DEFINE BAR 1 OF ABC PROMPT '\<1- Int. Backup'FONT "Arial",11 style 'B' COLOR ,RGB(0,0,0,128,255,255)
>On Select Bar 1 Of ABC Do Form BKUP
>
>By clicking Form BKUP runs.
>
>Now there is a text box in that Form
>I want to display Form Name "BKUP" in text1.
>
>In Project Manager the form name is "BKUP".
>In form's property sheet the form name is "Form1"
>But I want to get "BKUP"
>
>Please help

Copy&paste from another forum:
"You can edit formname in poperty sheet. However it has nothing to do with form's SCX name.


do form Bkup


means:

do form Bkup.scx



You can either its name in PEM sheet and:


thisform.myTextbox.Value = thisform.Name



or do not touch it all and get the name from 'SCX':
thisform.myTextbox.Value = juststem( sys(1271,thisform) )
"

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