>Nowait seems to not work with name clause. It supresses it.
>Furthermore, it does not do, what I want. I want this Browse window to be wisible, but allow actions with the form (modify records in a grid). With nowait clause this browse behaves as modal form :)
>
>Also have you ever thought of adding a grid class directly to _screen.
>>
_screen.addobject("Mygrid","myGridClass")
>>with _screen.myGrid
>>*...
>> .visible = .t.
>>endwith
>>do form myOtherForm
Cetin
>
>I'll try that, thanks.
>
>Now there is another question:
>How can I save column widths and order, which I adjust at run-time?
>
> I tried your multiselect grid, set lKeepFormat property to .t., ran test1 program and changed column widths and order. When I ran this form again, my changes were gone...
>
> Does it suppose to keep formatting changed at run-time? Or did I misunderstand something?
Nadya,
lKeepFormat property was for those who design the visuality of their grids on form at design time. It runs in init. However you could play with code to have the effect later (ie: call property saving code and save data).
There is something wrong with nowait. It really nowaits and execution continues. I suspect other clauses disallowing it ( a valid ?).
I don't know if you could combine normal and last (sounds you can't) and honestly for those so many years only Fox itself used 'last' for me :) It sounds to me what you want is 'preference' keyword.
Cetin