Paradox Community

Items in pnews.paradox-programming

Subject:Re: Toolbar
Date:Thu, 11 Apr 2019 15:59:18 -0400
From:"Steven Green" <greens@diamondsg.com>
Newsgroups:pnews.paradox-programming
can you set them manually, use GetPosition to see where each one is docked, 
then use that?

--

Steven Green
Myrtle Beach, South Carolina, USA

http://www.OasisTradingPost.com

Collectibles and Memorabilia
Vintage Lego Sets and Parts
- and Paradox support, too
"Ivan"  wrote in message news:5cae2628@pnews.thedbcommunity.com...

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