Results 1 to 7 of 7

Thread: What is this control?

  1. #1

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    What is this control?

    Hello everybody,

    I was looking at this application and was wondering what controls are being used here? (I have attached an image)

    Is this a grid? And if so which one? And how to make it look like that with the different controls and lines? Also there is an Add Another button which basically adds a row (with line) to the section. How are lines added like that if this ia a grid?

    Thanks for any information you may have.
    Attached Images Attached Images  

  2. #2
    Fanatic Member
    Join Date
    Mar 2009
    Posts
    804

    Re: What is this control?

    Looks like textboxes & masked edit controls with Appearance = Flat,
    Labels, a Combo, some Command Buttons set to graphical with pictures,
    some Image controls for the asterisks & question marks

  3. #3

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Re: What is this control?

    Thanks for the reply. However I didn't mean the individual controls, I meant the control that is holding all those textboxes, comboboxes, lines etc... Is that a grid? See the selected line is highlighted. If it is a grid which one is this as I would like to reproduce the look and functionality. Thanks again.

  4. #4
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: What is this control?

    It is most likely just a PictureBox (with no border) for each line. To highlight it like that would just need a change to the BackColor.

  5. #5

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Re: What is this control?

    Thanks si_the_geek for the reply. However that would mean a whole series of pictureboxes to manage. I see your point how it could be done, but it does seem a lot to manage.

    Couldn't this be done with several grids instead? I could be wrong, but are there grids where the gridlines can be hidden and controls dropped in them? If this is the case would you know which grid? I was thinking of the flexgrid but am not sure of its properties and features as I have not used it before. Thanks for your reply.

  6. #6
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: What is this control?

    A grid would not be any easier - and if you want scrolling, it would be more complex.

    The simplest way would be to have a control array of pictureboxes - that way you will only need one set of code, and can use loops to work with them all. The only downside is that you will only be able to have 256 of them, but there are ways around that if it likely to be an issue for you.

  7. #7

    Thread Starter
    Hyperactive Member Hassan Basri's Avatar
    Join Date
    Sep 2006
    Posts
    324

    Re: What is this control?

    Thanks for the reply si_the_geek, I will try using a control array of pictureboxes. 256 is more then enough. I thought maybe it was some sort of grid, however I will try your suggestion. Thanks again for your reply.

Posting Permissions

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



Click Here to Expand Forum to Full Width