Hi Pritpal,

Thank you, 
It is exactly MDI. But I thought the Harbor could have some specific
function or command to control it. I do not know well but Seems that in
Visual Fox Pro, something that controls what is a command AGAIN that is used
along with the USE.

Leonardo Machado


Pritpal Bedi wrote:
> 
> Hi
> 
> 
> sygecom wrote:
>> 
>> Do you have any function or command in the Harbour to dynamically control
>> the same ALIAS?. 
>> What I really need is to know how to deal with the ALIAS screens MDI,
>> which will open many time that DBF in the same window and moving the
>> RECNO each window without moving the other open windows with the same
>> DBF?
>> 
> 
> If it is MDI then it will be opening it in the same thread 
> so you cannot open the same alias in two windows.
> 
> The suggested way to do is do something like this:
> 
> USE "MyTable" ALIAS ( MyMDIWindowsSomeID() + "TABLE" ) NEW SHARED
> 
> You need to adopt this approach all along whenever you open the 
> same table in same thread. If you use multi-thread approach, you do not
> have to distinguish alias. But in your case it is MDI window which is 
> always tied to same thread where parent window is fired.
> 
> Regards
> Pritpal Bedi
> 
> 

-- 
View this message in context: 
http://old.nabble.com/how-to-control-the-MDI-windows-in-ALIAS---tp26305352p26306161.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to