bb.donnay-software.com

Donnay Software Web Forums
It is currently Wed Dec 11, 2019 2:02 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: FlatEdit setMarked
PostPosted: Thu May 20, 2010 1:04 pm 
Offline
User avatar

Joined: Wed Feb 24, 2010 3:44 pm
Posts: 1150
hi

when using
Code:
#xtranslate XbpGET => HX_FlatEdit
i do miss Methode setMarked

here it is
Code:
METHOD HX_FlatEdit:setMarked(xValue)
LOCAL nMax := ::GetProperty("MaxLength")

   IF NIL = xValue
   ELSE
      IF VALTYPE(xValue) = "A"
         ::SelStart  := IF(xValue[1] > nMax, nMax, xValue[1] )
         ::SelLength := IF(xValue[2] > nMax, nMax, xValue[2] )
      ENDIF
   ENDIF

RETURN self

_________________
greetings by OHR
Jimmy


Top
 Profile  
 
 Post subject: Re: FlatEdit setMarked
PostPosted: Tue May 25, 2010 6:44 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 27, 2010 6:58 pm
Posts: 4013
Location: Boise, Idaho USA
Jimmy -

I am not sure what you are asking.
What is HX_FlatEdit() ?

Roger

_________________
The eXpress train is coming - and it has more cars.


Top
 Profile  
 
 Post subject: Re: FlatEdit setMarked
PostPosted: Wed May 26, 2010 6:10 am 
Offline
User avatar

Joined: Wed Feb 24, 2010 3:44 pm
Posts: 1150
rdonnay wrote:
What is HX_FlatEdit() ?
oh, sorry ...
HX_ is "my" begining like DC_
FlatEdit() ( CJFLATEDIT ) is from Codejock Control

as i can see XCodejock have :SelLength, but in my "pure" Xbase++ Code
i use :setMarked() what i "miss" for Codejock.

rdonnay wrote:
I am not sure what you are asking.
no ask

i just wonder why i can no "input"*** into Flatedit ... i did not "mark" it
*** from chinese IME Editor

_________________
greetings by OHR
Jimmy


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 7 hours


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group