I'm going kinda Crazy here with some strange Focus problems on this Form.

 

So - I have this Form - for the Inquire, Mod. & Entry of PO Lines. Currently
I am working just on PO Lines creation. The Inquire & Mod. Modes are already
working.

 

I have this Grid - where the PO Lines will be displayed. I also have a
Container at the bottom of the Form - which pops-up & allows entry of Style,
Color, Desc,, Qty's, and such. Since this is Entry/Creation mode - I have it
on right when you go into the screen - and the Style gets the Focus. That
part is working fine. 

 

So - upon entry of a Style - if its Valid (its checked against a Style DBF)
- then the Focus is SUPPOSED to move onto the next field - the Color.
However, after its checked and found to be Valid (no need for a Look-up) -
the Focus jumps to the Grid! WTF!?!? I can't explain WHY It is doing that!

 

As such, I decided to "Fudge" things - to attempt to force it to work. So -
I DisAbled the Grid. Now, after entering a Valid Style - it then DOES go to
the Color field for entry. But, I don't really like this Kludgy solution.
Especially since there are More issues.

 

Now - if the Style is NOT Valid - I have it Pop-up a Lookup. This Lookup is
another Form to lookup Style/Color combos - and its used in other parts of
the system. Now, with the Grid Enabled set to False, and an invalid Style is
entered, and the Lookup window pops up - after making the selection - the
Focus goes BACK to the Style! That isn't right - as it should go to the Next
field - the Color!

 

Next - if put in a Valid Style, it goes to Color. Then, if I put in a Valid
Color - and there is no look-up, it properly goes to the next field,
Description. BUT - if I put in an Invalid Color, it does the Style/Color
lookup, and, upon return from that Lookup Screen/Form - the Focus goes BACK
to the Style! Which is of course NOT Correct!

 

I've actually thought about setting the Style field Enabled to False, upon
having it validated and moving to Color. Then, setting the Color field to
Enabled of False - upon having it properly validated. But, that sounds like
an even WORSE Kludge! 

 

At this point - I rather find out Why things are not working right - and try
to fix it the proper way instead of using Kludges!

 

So - any advice is greatly appreciated!!!

 

Thanks,

-K-

 



--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/5E5A0F7B5826408E8537DFD71FD8B0F2@Programming2
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to