Menu

scrolling a panel content delphi

Help
azrael11
2016-03-08
2016-03-11
  • azrael11

    azrael11 - 2016-03-08

    Try to find an example how to make  a GUI_Panel with content inside like, images, lists, checkboxes etc scrollable inside a GUI_form or in another GUI_Panel...
    But no lack...
    Can you help me...

    Thanks...

     
  • Jerome.D (BeanzMaster)

    Hi, check the demo attached, perhaps it can help you

     
    • arc-azrael11

      arc-azrael11 - 2016-03-10

      Thank you jerome...

      I check it but nothing is there that can help me...

      Any thought how can i do that...

      Thank you again...

       
  • Jerome.D (BeanzMaster)

    Perhaps you'll can use GLStringGrid instead a panel.
    Create checkbox an other as child of panel.
    In FarColony game source if i remember it have some samples for ui
    Check also the GUIPaint Demo
    You can override the render function (or via a custom DirectGLRender ) and render your own control depending of your scrolling value

    check this http://lampogolovii.blogspot.ch/search/label/glscene some interesting articles and code source about GUI

    ---> https://code.google.com/archive/p/lampogolovii/downloads

     

    Last edit: Jerome.D (BeanzMaster) 2016-03-10
  • arc-azrael11

    arc-azrael11 - 2016-03-11

    Hi jerome ...

    I focus my tries to use glstringgrig instead of panel...
    But i can't manage to add an GLGUI_Object instead of string so the scrollbar srolling the hole content...

    I found a function that add an objet in the Row with this GLStringGrid1.Row[0].AddObject('One',TGLButton1);

    But in stringgrid shows the string instead the button...

    Any thought about that....

    Thank you...

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.