Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid & Memo and other problems...
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00227549
Message ID:
00228575
Views:
19
>Hi Bruce,
>
>>Ok, let's see:
>>
>>Try this:
>>
>>lcValue = "IIF(" + alltrim(lbValue) + ",'N','Y')"
>
> Have an error here (alltrim(.t.)) ???

The previous line should not be a macro (in fact you don't need the previous line). Just put array(i) (I forget array's name) where the lbvalue is, no macro...

lcValue = "IIF(" + alltrim(array(i)) + ",'N','Y')"


>
>>
>>> My idea - return back to the control, which had focus before I clicking on one of my navigation buttons (set order, set filter, next, prev, search, etc.).
>>>
>>> I am not pretty sure that my idea is correct, because I need:
>>>
>>> 1) set PrevFocus of most of my controls LostFocus method (could it be done by one command?)
>>
>>yes. you could create a form property that would hold the last control, and set it in the gotfocus, lostfocus, doesn't matter much, I guess, of each object...
>
> I don't want to create this for one single form, I want to provide this functionality for our classes - our base form and our navigation bar class.

You can do that, sure...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.
Previous
Reply
Map
View

Click here to load this message in the networking platform