Showing results 1 to 2 of 2

Thread: Dynamic ListBox as a UserControl -> Ugly Border

  1. #1
    sph11 Gast

    Default Dynamic ListBox as a UserControl -> Ugly Border

    Hello,

    i have created a ListBox as a UserControl, that can be controlled by "properties".
    Well but the only Problem is that it has a small but ugly Border on the bottom.

    ListBox in the Editor:


    ListBox during Runtime


    The Load and Paint Events of the parent UserControl are configured that the Listbox size should match the parent Control Size. ListBox.Width=*.Width.

    Well how can i get rid of this ugly Effect?
    Attached Thumbnails Attached Thumbnails ListBox during Runtime_Small.JPG   ListBox im Editor_small.JPG  

  2. #2

    Default Re: Dynamic ListBox as a UserControl -> Ugly Border

    It is just an idea, but maybe you need to configure your paint and draw events slightly bigger?

    Generally, dynamic elements can have an optional border in the runtime, that can be configured in the editor settings. This also includes ActiveX controls.

    Perhaps turning on or off this setting in the editor options may also resolve your issue.

Similar Threads

  1. Replies: 1
    Last Post: 31st January 2011, 15:23
  2. Populate listbox from SQL
    By macdaddy in forum zenon Supervisor
    Replies: 2
    Last Post: 9th August 2010, 13:28
  3. MS Forms 2.0 Listbox
    By perschke in forum VBA
    Replies: 1
    Last Post: 23rd October 2009, 07:07
  4. Dynamic limittext as Hex
    By kicker in forum zenon Supervisor
    Replies: 1
    Last Post: 14th August 2009, 12:20
  5. Dynamic Loading Of Picture
    By allmendinger in forum zenon Supervisor
    Replies: 2
    Last Post: 1st July 2009, 20:08

Posting Rules

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •