Results 1 to 3 of 3

Thread: Command1 + MSFlex = ?

  1. #1

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Sydney, Nova Scotia
    Posts
    55
    I've seen it done before, people whom have added controls like text boxes and combo lists in the MSFlexGrid.

    Well has anyone seen a Command Button in the MSFlexGrid? I'm looking for some code or anything......

    Command Buttons in a FlexGrid...... is it possible?
    Vince McMullin
    Aka Vam, Vinny Mac

    Its just that simple

  2. #2
    Guest

    It is Possible!!!

    It is possible to add command button to the flexgrid control. I think u wanted to place the command button wherever the user clicks in the Flexgrid cell below is the simple foue line code to doit.

    Private Sub MSFlexGrid1_Click()

    Command1.Top = MSFlexGrid1.Top + MSFlexGrid1.CellTop

    Command1.Left = MSFlexGrid1.Left + MSFlexGrid1.CellLeft

    Command1.Width = MSFlexGrid1.CellWidth
    Command1.Height = MSFlexGrid1.CellHeight

    End Sub

  3. #3

    Thread Starter
    Member
    Join Date
    Jul 2000
    Location
    Sydney, Nova Scotia
    Posts
    55
    What about a certain Column and.......... Lets say there are 80 rows and in this 1 Column I want 80 Buttons....... Each button represents a room where users can chat....


    The information of the room is maintianed in the Grid at Runtime by use of databases.......
    Vince McMullin
    Aka Vam, Vinny Mac

    Its just that simple

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