Hi

Angel Pais wrote:
> 
> I tried to make a static and put the butoon on it but it didn't work.
> So I guess some other parts in the hierachy is stealing the key.
> 

No, it wont work there either. To accept _ENTER_ for a push button,
parent needs to be a QDialog() only.



>>       QUESTION: which instance variable controls the resizing behavior?
> 
> See attached appLogin.prg  ( sustitute the one you have on your pc )
> 

I could not see anything related to resizing in this code, or I am reading
in between the lines...



> It works but has an odd behavior as you'll see in example.
> Enter event doesn't get removed so it continues tabbing to the end.
> 

I talked about oSLEs, not pushbutton, see above.




> I tried to subclass xbpSLE into xbpGET to test local changes and I 
> discoverd something:  setdata() and getdata() doesn't work due 
> xbpdataref is using fixed class names instead of IsDerivedFrom() function.
> 

Can you amend hbXBP source to show exactly how this can be 
achieved? Or can you explain a little more in detail so that Przemek 
can look into this aspect. I am not much familiar with all OO constructs.
Probably it will be a matter of some small change in the sources.



> I also noticed a new object is created every time you call AppDeskTop(). 
> Isn't it resource consuming ? Maybe an static var could be better.
> 

No, it is a static object returned everytime you call.
How did you observer it is returning a new object every-time?



> keyboard() method of xbpdialog is not working, I can capture esc, enter 
> and Fx keys ( F1,F2,etc )
> 

Can you show how this method can be used and result of it?



> I'm not sure but I suspect PosAppEvent isn't working either.
> 

No, PostAppEvent() is not working. I tried but it is not possible 
purely on PRG level. I have to sub-class QEvent(). Will do this week.



> I some days I will post much better expample-test .prgs
> 

Make it a show-case application, 100% Xbase++, and add functionality
inside. This way I will always be in a position to adopt your changes 
and make tests. It is highly likely that I will post this application on SVN
in hbxbp/tests. Put on notes whereever possible, I see you have done it
and is self descriptive.

Thank you for your positive interest.

Regards
Pritpal Bedi

-- 
View this message in context: 
http://old.nabble.com/SF.net-SVN%3A-harbour-project%3A-13687--trunk-harbour-tp27290744p27298967.html
Sent from the Harbour - Dev mailing list archive at Nabble.com.

_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to