Quantcast
Channel: West Wind Message Board Messages
Viewing all articles
Browse latest Browse all 10393

Re: formnoshow

$
0
0
Re: formnoshow
FoxInCloud
Re: formnoshow
04/02/2012
08:37:17 AM
3GX0IHCW1 Show this entire thread in new window
Gratar Image based on email address
From:
To:
Attachments:
None

I realize that; I was just clarifying why anyone would care about that. However frustrating to be doing this coding updating, the truth is it is forcing me to adhere to much better coding practices and not take sloppy shortcuts to save time. Long run that has to be good.


OK Tuvia
FiC means to support any way of using VFP

Another reason why just "init and params" is a significant effort to rewrite is that often we set properties of many objects on the form. Every time we call the form, now we have to code a bunch because the form is instantiated, and we cannot move previous this.xxx and this.xxx code to the Load, since the Load only fires once. On one form I had to write over 150 lines of code to do what I was doing with the old VFP .show way of doing things. Might be bad style, but it is prevalent

Not a complaint, just an answer to your wondering why people cared so much about this.


I think we need to revise how wForm_Shell() adn wFormNoShow() operate, especially regarding modal returns and call back.
May take a while to clarify all that and maybe enhance aw.vcx!awFrm::wForm*() code.

Could you give me an example of how you envision wform_shell being used? I am so bogged down changing form calls and how my forms talk to each other. I started adding js code to hide and show forms and to do a lot of things because between not having the "noshow" ability and not being able hide/show forms, my infrastructrure on this project has to be completely re-written.


wform_shell() is meant to do additional form settings between .Init() and .Show()
{Personaly I can't figure out why all settings could not be made in .init() based on parameters}

Whoops. Looks like I meant wform_shell, I see that wfornnoshow only runs in LAN mode (in the class notes).

Was just wondering if if you had a chance to follow up on this.


Let me prepare a detailed answer on this question
thanks

Repost:

Could somebody give me an example of properly using wformnoshow? When I use it the form instantiates visibly and I do not get a reference to it back.

TIA










Viewing all articles
Browse latest Browse all 10393

Trending Articles