Results 1 to 9 of 9

Thread: Create Head-Detail View With FlexGrid

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Resolved Create Head-Detail View With FlexGrid

    Hi guys . . .
    How can i make Head-Detail View like in MS Access with MSFlexGrid.
    thank u for your kindness . . .

    Best Regards,
    Last edited by positive+; Mar 12th, 2005 at 08:11 AM.

  2. #2
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Create Head-Detail View With FlexGrid

    You mean like when you have a relationship between two tables and you view the main table and it
    displays a plus sign. Then when you click it it opens the referenced table as a row of records?
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Re: Create Head-Detail View With FlexGrid

    Yes i mean just like that ...
    i've tried using SetParent for Detail FlexGrid just to keep it still inside in the Head FlexGrid ... but still confusing on how to manage the Head FlexGrid row to keep it visible above the Detail FlexGrid beside the Plus and Minus sign problem's .... can you help me, please ???
    Sorry if my english confusing you

    Best Regards,

  4. #4
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Create Head-Detail View With FlexGrid

    I havent done it myself, but to duplicate that effect you need to use the MS Heirarchical FlexGrid control.
    I believe it has a Band object which does this.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Question Re: Create Head-Detail View With FlexGrid

    Sir RobDog888 . . .thank's again for your replies
    Yes you're wright . . . i can get the same effect if i use MSHFlexGrid.
    but, i have some other plan by using MSFlexGrid, like adding CheckBox and etc for the Detail FlexGrid . . .( Unbound Methode )
    Is there's a way i can make it with MSHFlexGrid ? How can i do that ?
    Sorry if i got a lot of questions here . . .

    Best Regards,

  6. #6
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Create Head-Detail View With FlexGrid

    Usually what I see for a checkbox in a grid is to format the one particular column to use a
    Windings Font character of a box and another one with a x through the box.

    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Re: Create Head-Detail View With FlexGrid

    I see . . . Creating a fake checkboxes! it might be work, i must try it for that one. thank's again Sir RobDog888 . . .
    But i still don't get my answer for my first question above ??????

    Best Regards,
    Last edited by positive+; Mar 9th, 2005 at 01:49 PM.

  8. #8
    Ex-Super Mod RobDog888's Avatar
    Join Date
    Apr 2001
    Location
    LA, Calif. Raiders #1 AKA:Gangsta Yoda™
    Posts
    60,709

    Re: Create Head-Detail View With FlexGrid

    It can only be done by using the Heirarchical FlexGrid. The regular FlexGrid can't simulate it.
    VB/Office Guru™ (AKA: Gangsta Yoda®)
    I dont answer coding questions via PM. Please post a thread in the appropriate forum.

    Microsoft MVP 2006-2011
    Office Development FAQ (C#, VB.NET, VB 6, VBA)
    Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
    If a post has helped you then Please Rate it!
    Reps & Rating PostsVS.NET on Vista Multiple .NET Framework Versions Office Primary Interop AssembliesVB/Office Guru™ Word SpellChecker™.NETVB/Office Guru™ Word SpellChecker™ VB6VB.NET Attributes Ex.Outlook Global Address ListAPI Viewer utility.NET API Viewer Utility
    System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6

  9. #9

    Thread Starter
    Junior Member
    Join Date
    Jan 2005
    Posts
    18

    Re: Create Head-Detail View With FlexGrid

    Thank's for the information Sir RobDog888 . . .
    but i'll continue my curiosity about that ....

    Best Regards . . .

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