Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Eliminating multiple refresh()
Message
From
29/04/2002 11:34:40
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
29/04/2002 11:09:24
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00650236
Message ID:
00650430
Views:
20
David,
>I assume by the above that you mean that I vary whether I will enable it by the class. I'm not sure that would be a deciding factor here.

This was for playing with.

An example:
I have two kinds of information in textboxes:. The one allways give only information about the active record, the otherone is for edit.

so I create two classes from textbox
txtEdit - just a normal textbox
txtDisplay with READONLY = .t., TABSTOP = .t. and RETURN .f. in the WHEN event

I create all textbox objects to edit from txtEdit, all to display from txtDisplay
For some reason I have to play with form's readonly.

The command THISFORM.SETALL('READONLY',.F.) will set all to read write,

The command THISFORM.SETALL('READONLY',.F.,'txtEdit') will set only the edit ones.

>I am new to some of these more advanced oop techniques. I haven't yet used Acess and Assign. So I will experiment with it. It sounds like you are saying, however, that the execution would be slow, and that is what I am trying to avoid. So I will experiment with it.

But it is a good start (as an abstract test) to use ASSIGN and ACCESS. They can do very powerfull things
>
>PS- I never responded to your response to me on SET CLASSLIB (if you remember) - I got sidetracked. I will come back to that one (soon I hope)

There was something, yes... If you need further help on this, simple answer the old tread or start a new one and post it to me.

Agnes
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]
Previous
Reply
Map
View

Click here to load this message in the networking platform