Programmatically You can check the Status of this button as above mentioned.
But if You like to react at runtime for click on this button while !enabled, there is no event what fires. Neither MouseDown- nor Click-Event.
The only events who fires are MouseEnter-/Leave. those are not blocked...
Yepp.. I forgot in my TP to mention "at design time"
Well, this DropDown is not sooooo important. but i'd like to use the doubleclick on an user defined boolschen property, just like the native props (i.e. .Enabled) . I know it works. I had this in an very old defined object. but this is already...
I did it already..... but it was in 2009/10 and i forgot HOW TO.
if have some properties in an object. DefaultProps can be modified by doublecklick to change their value. i.e. flip between .T. and .F.
1.) How to do the script to toggle a boolean property between .T. and .F.
2.) how do the...
When exporting such stuff check also some chars in there
#define DosChars "„”Ž™šáø"
#define WinChars "äöüÄÖÜß°"
I had to translate those from DOS to WIN
i agree 😁
Do you know the saying "All roads lead to Rome"? There are also many different methods to solve a problem here.
I actually only use this TRY-ENDTRY mechanism permanently in 2 parts of the program. Otherwise only temporarily, while I create and test a new function somewhere. But this...
Some of this IO-class i also use for certain reason outside of an form. So i need to check, if it's in or out of a form. Therefore the TYPE("ThisForm") up there.
One of the main reason is to set and check some public variables like my own adress, the environment-settings. This i'll do just ONCE...
1st) all forms have the same init-behavior and thei own init-procedere where i do initialize formspecific properties.
one of them is, and this works fine now
LPARAMETERS P1, P2, P3, P4, P5, P6
WITH This
IF .UseStatusBar
SET CLASSLIB TO (.F_BALLOON.ClassLibrary) ADDITIVE...
Like in an old thread (2005 or like) i've read before i started this one inside any object./form.init-method it does not work to insert something like ThisForm.Release()
not to protect my form and neither my exe-file.
in case the user has any form already running, this form will recognize and...
Yepp, this I know, but i could not yet figure out how to pass a failed init-method (return .f.) (done workaround see below)
well with an cascaded FOREACH Obj in Form.obects i can check the exitence of an object and/or their sub-objects. But in can't find any unloaded objects. Where i can see...
Any suggestions? Why does the form show, even if i return false in the button-init? see picture.
There is only a native form and a native button
only the button is missing, if i return .f. in it's init-method
its fine not to load the object, but how can i stop the form to continue loading?
As above mentioned. I never use the real sourcedata to juggle around. Allways use a copy with own cursor for manipulate the data.
Yes, i got (but not really common and clean used) a solution / workaround with my REPORT FORM... blalbla 😁
OOPS. I'm really sorry about this false statement. 4GIVE ME 😁I've forgotten my FakeButton has some code (DODEFAULT()) in the Click-Event and there i set the focus back to my last editable object in the form
This is a edit-gimmick in my forms since i run Fox (6) so i dnt loose my last editobject...
Tnx..., also thx to @Criss. But this mentioned problem occurs only if you use the same cursor from the grid to do the report.
Its not the problem i have now.
i have cpl different cursors to manipulate. see the code of cursoralias and their usage.
Do You have a link where this bug is mentioned?
I've some forms, where i do start the REPORT FORM... stuff and the most time the grid has the focus, and the grid.corntrolsource is not my reportsource.
since 2006/2010 i never had any problems running this ... until cpl days ago
one of my own...
Me too 🤣 but...
In a fit of desperation, anger and resignation, I did something that would make other professional programmers shake their heads. But apparently somehow it was successful.
As you can see, I have wrapped the preview section in a form so that it can be made large enough to read...
As You see the proramm runs a DO CASE with three possibilities and it depends of the FK_<number> i pass to this method,
1.CASE) printing (user and operator access allowed)
2.CASE) preview (user and operator access allowed)
3.CASE) modify (user access denied, operator access allowed)
This method...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.