closed for maintenance!
X
-
-
Please post
Inquiring minds want to know????Engineer's Motto: If it aint broke take it apart and fix it
"If at 1st you don't succeed... call it version 1.0"
"Half of Programming is coding"....."The other 90% is DEBUGGING"
"Document my code????" .... "WHYYY??? do you think they call it CODE? "
Comment
-
Some comment threads
http://www.powerbasic.com/support/pb...ad.php?t=38994
or a more a thread started more recently:
http://www.powerbasic.com/support/pb...ad.php?t=53369
Going by the dates in the first of the above threads, it's nice to know that I'm not the only one with 'latered' items..Rod
In some future era, dark matter and dark energy will only be found in Astronomy's Dark Ages.
Comment
-
Hey Chris(H)!
I'm working on an update to gbPrintPreview, which uses a graphic control to preview text that is to be printed.
Your code may be of interest to me, as I would like to let the user select/highlight text with the mouse.
I guess I can see how it might be done ...
- detect down/drag/up mouse activity
- determine start/end lines being selected
- determine the character position of the clicks within each line
- highlight the text within the starting/ending character positions
It sounds very possible, but definitely requiring attention to the details, especially if you allow text lines to have different founts/heights. In gbPrintPreview, my lines/characters are all the same font/size, so I don't have to figure that part out.
Also, selecting whole lines would be much simpler than allowing selection at the character level.
I'll be interested to see if your approach is similar or if you've come up with a more minimal solution!
I'll likely post the new version of gbPrintPreview this weekend but I'm not sure I'll have the "Select Text" feature in the release.
Comment
-
Did this thread and any code posting ever come back to life? Am looking for a wysiwyg text editor that can operate within specified boundaries within a window.
Michael Mattias
Tal Systems (retired)
Port Washington WI USA
[email protected]
http://www.talsystems.com
Comment
Comment