TGet problems

TGet problems

Postby Gilbert » Tue Mar 06, 2007 2:07 pm

Hi all,

Starnge things are happening with some METHOD in TGet.

1. GetSel() always returns ``

2. GetSelPos() Always return nHi = 10, nLo = 10
so trying to use Copy(), Cut() and Paste() methods results in no results.

3. Application crashes with NO EXP. METHOD TGET:GETFOCUS
this method is used in at least two methods. Should`nt it be GotFocus()

4. Is using ::TControl:... result the same as Super:...

Regards,

Gilbert
Gilbert Vaillancourt
turbolog@videotron.ca
Gilbert
 
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada

Postby Antonio Linares » Tue Mar 06, 2007 2:09 pm

Gilbert,

Could you please provide a small sample to reproduce it ?
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42084
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Gilbert » Tue Mar 06, 2007 2:30 pm

Hi Antonio,


Found out that ::GetFocus() is not a valid method instead I used ::oGet:HasFocus() and worked OK

I will try to supply a code sample, this will be hard because my TGet is quite different than your`s.

Regards

Gilbert
Gilbert Vaillancourt
turbolog@videotron.ca
Gilbert
 
Posts: 74
Joined: Thu Oct 20, 2005 4:30 pm
Location: Canada


Return to FiveWin for CA-Clipper

Who is online

Users browsing this forum: No registered users and 6 guests