CGDevTools Forum

Welcome to the Official CGDevTools Support Community Forums.

VerticalMenu Borders

General discussion

by etwoss » 29 Apr 2014 15:35

Hi

How can i hide the borders of the vertical Menu, Borderoptions dont work

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 30 Apr 2014 08:51

Use Styles i see, will try it
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 30 Apr 2014 09:21

Hi

Tested with the same code as another thread about regionBorders:

Code: Select all
  object IWCGJQVertMenu1: TIWCGJQVertMenu
    Left = 80
    Top = 64
    Width = 100
    Height = 200
    TabOrder = 0
    Version = '1.0'
    BorderOptions.NumericWidth = 1
    BorderOptions.Style = cbsSolid
    Style.Strings = (
      'border-bottom-color:red'
      'border-top-color:red')
    Items = <
      item
        Caption = 'A'
        SubItems = <>
      end
      item
        Caption = 'B'
        SubItems = <>
      end
      item
        Caption = 'C'
        SubItems = <>
      end>
  end


And a Region

Code: Select all
  object IWCGJQRegion1: TIWCGJQRegion
    Left = 408
    Top = 168
    Width = 289
    Height = 169
    TabOrder = 2
    Version = '1.0'
    BorderOptions.NumericWidth = 1
    BorderOptions.Style = cbsSolid
    Style.Strings = (
      'border-bottom-color:red'
      'border-top-color:red')
  end


The region works, the menu not

Also tested with border-bottom-style = none for the region, still its shown
Also tested with border-bottom-style = dotted for the region, not dotted




Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58

by etwoss » 01 May 2014 10:46

Hoi

Found: CGAppearanceSettings for the region

Would be nice to have CGAppearanceSettings for the vertical meny also

Eric
etwoss
 
Posts: 1205
Joined: 06 Feb 2014 08:58


Return to General - Archive

Who is online

Users browsing this forum: No registered users and 2 guests

Contact Us.