Paradox Community

Items in pnews.paradox-programming

Subject:Toolbar
Date:Wed, 10 Apr 2019 18:53:38 +0200
From:"Ivan" <ivan.moro@web.de>
Newsgroups:pnews.paradox-programming

An not very important question, but would solve a boring time consuming 
problem.
I've P9 on a Win 10 with an 1920 x 1080 resolution.

If I'm working in the developing mode, I'd like to have the toolbars open on 
the right side within 2 columns.
If I run the app, then it closes all tollbars (it's necessary - can't be 
changed).
If I change again to developing mode, I've to reopen all toolbars again, so 
I wrote a script for it.

I'd like to have the toolbars on the right side of the window (in 2 columns)
    See attached pic. Toolbox-C2.png

But if I would like to do it with this script

; *****
   var
      ar  Array[6] String
      i   SmallInt
      s   String
      tb  Toolbar
   endVar

   ar[6] = "Standard"
   ar[5] = "Property"
   ar[4] = "Design Object"
   ar[3] = "Align"
   ar[2] = "Text Formatting"
   ar[1] = "ActiveX Control"

   for i from 1 to ar.size()
      tb.attach(ar[i])
      if NOT tb.isVisible()
      then
         tb.setState(ToolbarStateRight)
         tb.show()
      endIf
   endFor
; *****

then the toolbars opens as it is shown in the pic Toolbox-C6.png

Is it possible to change the script, that it opens the toolbars like it 
shows the Toolbar-C2.png? It would save some time.

Thanks.

Ivan 


---
Diese E-Mail wurde von AVG auf Viren geprüft.
http://www.avg.com




Copyright © 2004 thedbcommunity.com