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---tp26305352p26305942.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