On Sun, Jan 13, 2013 at 8:55 AM, hakan <hexi...@users.sourceforge.net>wrote:
> **
> Staffan
> Isn't this the situation where you must turn autoDetection off
>
> ::method initAutoDetection
> self~noAutoDetection
>
>
hex is exactly right.
This is one of the main reasons I dislike auto detection. After the
initDialog in your dialog executes, then auto detection goes through and
resets all the controls. Causing what you see.
This was one of the most frustrating things I dealt with in trying to
understand how ooDialog worked. The original IBM doc, didn't explain most
of it, and much of the little it did say was misleading.
You should read the section in the Dialog Object chapter, Data Attribute
Method, the first 3 parts. None of that information was available until I
re-worked the docs for ooDialog 4.2.0
You can also use the .application object to turn auto detection off for the
entire program, rather than use ::method initAutoDetection in each dialog.
--
Mark Miesfeld
------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users