Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Default Object
Message
De
20/10/2014 11:10:17
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 8.1
Network:
SAMBA Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01609619
Message ID:
01609657
Vues:
47
more like:
* Init of a button 
IF This.Default
   This.Default = This.Default
ENDIF

procedure Default_Assign
LPARA;
 tvPara

do case
 case This.Default and !tvPara
   *un register
 case !tvPara or This.Default and tvPara
  *nothing changed, write for side effect (one never know ...)
 otherwise
   *register
endcase

   This.Default = tvPara
endproc
>I'm not sure what you mean
>
>* Init of a button 
>IF This.Default
>   * Register with container
>ENDIF
>
>>
>>Nice to see you. :)
>>
>>I had this idea, but this is something more that will run on init. I'm a bit reluctant with it.
>>So it would run for every button (no OLE Container here).
>>Any idea to do this fast?
>>
>>It would need an assign, something on init to raise it initaly, it's a pain. :)
>>
>>Best would be if it would run as one expect it ... :)
>>
>>Lutz
>>
>>>Wouldn't be easier to get default object to register with container?
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform