I have an edit control defined as READONLY MULTILINE VSCROLL and I'm trying
to use setTabStops(.array~new(20)) to control how the text, which contains
tab characters '09'x, should be placed in the control. The program sets the
text in the control using setText, but the text is not adjusted using the
tabs as expected. So then I've tried the sequence:
edit~setText("")
w = .WindowsClipBoard~new
w~copy(textWithTabs)
edit~setReadOnly(.FALSE)
edit~pasteText
w~empty
edit~setReadOnly(.TRUE)
I tried this because it's not fully clear if setTabStops takes effect with
setText or if it only works during a paste operation. But this doesn't seem
to work either. I then found the EditControlEx.cls sample that comes with
ooDialogs but unfortunately I haven't been able to understand what the tab
function in there is trying to demonstrate, I can't get anything
tab-friendly working running the example.
I'm obviously missing something here but I can't see what it is. Any
suggestions?
Staffan
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos. Get
unparalleled scalability from the best Selenium testing platform available.
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users