Hi Staffan

I'm on vacation with little to no Internet.  So, if you send me a simple
example that you would like to work, I'll see if I can get it working and
send it back to you next time I stop at a coffee shop with WIFi.

That said, the trouble I usually have when trying these tab stop things is
remembering that the the "tab stop" is the actually character location, not
the difference between the tab stops.   I.e., if you want tab stops to be
8, you need to specify them as: 0 8 16 24 32 ...

Also, be aware that tab stops in the controls, edit and list box, are
apparently a hold over from 16-bit windows and don't always work well with
any "Themed" controls.  That might be the problem here.

--
Mark Miesfeld



On Wed, Apr 30, 2014 at 2:34 PM, Staffan Tylen <staffan.ty...@gmail.com>wrote:

> 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
>
>
------------------------------------------------------------------------------
"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

Reply via email to