Poll: Have you used forms before

Results 1 to 23 of 23

Thread: Simba's Extensions menu, how are the tabs made?

  1. #1
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default Simba's Extensions menu, how are the tabs made?

    Ima ask nielsie the creator of this -




    Does anyone know what is used? What form component for the tabs?

  2. #2
    Join Date
    Mar 2012
    Location
    Canada
    Posts
    870
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    I'm not sure I understand your question? Do you ask how he made that window for Simba? Or what you need to have unable to make forms?
    My scripts:
    Advanced Barb Agility Course(outdated), MonkeyThieverV0.11, MahoganyTableV0.4(outdated)
    Questions? I bet that for 98% of those, you'll find answer HERE

  3. #3
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by sir eska eau View Post
    I'm not sure I understand your question? Do you ask how he made that window for Simba? Or what you need to have unable to make forms?
    Im asking how would you make "in simba" tabs like Extensions Name Versions tabs shown in the picture.

  4. #4
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    He's asking how the tabs were created

    EDIT: LordJashin are you from MG?

    EDIT2: Nevermind, that IS the picture I made myself and you took it from MG, oh well
    Last edited by Abu; 03-24-2012 at 08:46 PM.

  5. #5
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    He's asking how the tabs were created

    EDIT: LordJashin are you from MG?
    MG stands for???

  6. #6
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    MmorpGuides, that is an image I made myself on Adobe Photoshop and posted on that website, I checked the Image URL for confirmation and it is.

    But I don't mind - who cares about Copyright

  7. #7
    Join Date
    Mar 2012
    Location
    Canada
    Posts
    870
    Mentioned
    1 Post(s)
    Quoted
    5 Post(s)

    Default

    I think this tutorial is what you are looking for. I didn't take time to look into those very much because simba doesn't support multi thread and it pretty much defeat the purpose of having a GUI.

    http://villavu.com/forum/showthread.php?t=41418
    My scripts:
    Advanced Barb Agility Course(outdated), MonkeyThieverV0.11, MahoganyTableV0.4(outdated)
    Questions? I bet that for 98% of those, you'll find answer HERE

  8. #8
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    MmorpGuides, that is an image I made myself on Adobe Photoshop and posted on that website, I checked the Image URL for confirmation and it is.

    But I don't mind - who cares about Copyright
    Lol it was on google, copyright? Its nielsies lol, he made the menu in the first place

  9. #9
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by sir eska eau View Post
    I think this tutorial is what you are looking for. I didn't take time to look into those very much because simba doesn't support multi thread and it pretty much defeat the purpose of having a GUI.

    http://villavu.com/forum/showthread.php?t=41418
    Already been there, none of that can produce those tabs. TTabControl, TTabSheets, all of that stuff doesn't make those tabs as far as I know.

    Well that tut has TListbox which I've already tried. TTab, etc those are the ones I thought would have it.

    Edit: I double post too much haha

    Edit2: Ima go look at SCAR's form editor again
    Last edited by LordJashin; 03-24-2012 at 08:58 PM.

  10. #10
    Join Date
    Feb 2011
    Location
    The Future.
    Posts
    5,600
    Mentioned
    396 Post(s)
    Quoted
    1598 Post(s)

    Default

    I am Ggzz..
    Hackintosher

  11. #11
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    Ima ask nielsie the creator of this -




    Does anyone know what is used? What form component for the tabs?
    Did you check Projects/Simba/extensionmanagergui.pas?



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  12. #12
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    Did you check Projects/Simba/extensionmanagergui.pas?
    There we go maybe its in there I'll go check.

    Edit: Like i thought he made his own custom stuff -____________

    Edit2: If this was in Simba, Tabs might work "TCustomListView"

    Edit3: Any ideas?
    Last edited by LordJashin; 03-24-2012 at 09:15 PM.

  13. #13
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    Lol it was on google, copyright? Its nielsies lol, he made the menu in the first place
    Lol, all I'm saying is I made that image with the four little arrows and the green box around the enable option on Photoshop, and that it also has the exact same Image URL as which I uploaded it with on another site - and its definitely not on Google Images... I'm not accusing you, just don't know why you said it was from Google Images.... :s

    And of course I didn't make the actual menu - just that image..
    Last edited by Abu; 03-24-2012 at 09:16 PM.

  14. #14
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    Lol, all I'm saying is I made that image with the four little arrows and the green box around the enable option on Photoshop - and its definitely not on Google Images...

    And of course I didn't make the actual menu - just that image..

    NOT ON GOOGLE? LOOK lol - http://bit.ly/GNvdsV

    Then click on images its the 3rd one

  15. #15
    Join Date
    Feb 2012
    Location
    Somewhere, over the rainbow...
    Posts
    2,272
    Mentioned
    3 Post(s)
    Quoted
    45 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    NOT ON GOOGLE? LOOK lol - http://bit.ly/GNvdsV
    HUH :S

    I have an image on GOOGLE!



    wow.....


    P.S- oops sorry, I had no idea

  16. #16
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by abu_jwka View Post
    HUH :S

    I have an image on GOOGLE!



    wow.....


    P.S- oops sorry, I had no idea
    Congratulations! You are forever famous now

  17. #17
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    Ima ask nielsie the creator of this -




    Does anyone know what is used? What form component for the tabs?
    I knew it!
    Simba Code:
    object ExtensionsList: TListView
          Left = 6
          Height = 191
          Top = 8
          Width = 371
          Align = alCustom
          Anchors = [akTop, akLeft, akRight, akBottom]
          Columns = <      
            item
              Caption = 'Extensions'
              MinWidth = 90
              Width = 90
            end      
            item
              Caption = 'Name'
              MinWidth = 75
              Width = 150
            end      
            item
              AutoSize = True
              Caption = 'Version'
              MinWidth = 60
              Width = 111
            end>
    Anyway to port TListView or include it is what I need to find out next...

    Edit: Another double post owell...I shall get the most double posts award

    Edit2: Where are all of Simba's forms stuff at? Nvm I think all of it is in ComCtrls
    Last edited by LordJashin; 03-24-2012 at 09:34 PM.

  18. #18
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    You'd probably have to export the form/class to pascalscript. (Check Units/PascalScript/uPS{C,R}_forms.pas etc) It's definitely not an easy task. but very doable with some help. Dgby714 has some experience in this area. ( I would also be able to do this, but I believe it isn't a very high priority and I also don't want to work on pascalscript support much longer unless we're actually fixing stuff. )

    If you can't figure it out yourself, file a bug.



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  19. #19
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    You'd probably have to export the form/class to pascalscript. (Check Units/PascalScript/uPS{C,R}_forms.pas etc) It's definitely not an easy task. but very doable with some help. Dgby714 has some experience in this area. ( I would also be able to do this, but I believe it isn't a very high priority and I also don't want to work on pascalscript support much longer unless we're actually fixing stuff. )

    If you can't figure it out yourself, file a bug.
    {$I treeview.inc}
    {$I customlistview.inc}

    No idea what tree view is. What is this code in right now?

    I don't understand, is this code converting, or are we just adding it to Simba?

    Doesn't look too hard, what exactly am I exporting from, what is the form/class coded in ?

    Delphi 4? it all looks the same to me lol
    Last edited by LordJashin; 03-24-2012 at 09:42 PM.

  20. #20
    Join Date
    Feb 2006
    Location
    Amsterdam
    Posts
    13,692
    Mentioned
    146 Post(s)
    Quoted
    130 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    {$I treeview.inc}
    {$I customlistview.inc}

    No idea what tree view is. What is this code in right now?

    I don't understand, is this code converting, or are we just adding it to Simba?

    Doesn't look too hard, what exactly am I exporting from, what is the form/class coded in ?

    Delphi 4? it all looks the same to me lol
    You'd have to edit the Simba source and add the specified calls and stuff to a (new) unit. Simba is written in Object Pascal (FPC is the compiler) with the Lazarus IDE. You need FPC 2.4.4 (not 2.6.0)



    The best way to contact me is by email, which you can find on my website: http://wizzup.org
    I also get email notifications of private messages, though.

    Simba (on Twitter | Group on Villavu | Website | Stable/Unstable releases
    Documentation | Source | Simba Bug Tracker on Github and Villavu )


    My (Blog | Website)

  21. #21
    Join Date
    Feb 2012
    Location
    Florida
    Posts
    193
    Mentioned
    1 Post(s)
    Quoted
    6 Post(s)

    Default

    Quote Originally Posted by Wizzup? View Post
    You'd have to edit the Simba source and add the specified calls and stuff to a (new) unit. Simba is written in Object Pascal (FPC is the compiler) with the Lazarus IDE. You need FPC 2.4.4 (not 2.6.0)
    So I couldn't do like this
    Simba Code:
    // LordJashin was here

    procedure SIRegisterTLISTVIEW(Cl: TPSPascalCompiler);
    begin
      with Cl.AddClassN(cl.FindClass('TPERSISTENT'), 'TLISTVIEW') do
        begin
          RegisterProperty( sdfdsafadsfasdfds,// iptr? iptrw?
        end;
    end;

    I have F.P.C Version 2.4.4 on my Lazarus

    What are these ? TPSPropType = (iptRW, iptR, iptW);

    Maybe just ask Dgby about it?

    So would I add a class to the TPersistent class?
    Last edited by LordJashin; 03-24-2012 at 09:59 PM.

  22. #22
    Join Date
    Dec 2006
    Location
    Sydney, New South Wales, Australia
    Posts
    4,603
    Mentioned
    15 Post(s)
    Quoted
    42 Post(s)

    Default

    Quote Originally Posted by LordJashin View Post
    What are these ? TPSPropType = (iptRW, iptR, iptW);
    • R = Read only
    • W = Write only
    • RW = Read + Write
    You may contact me with any concerns you have.
    Are you a victim of harassment? Please notify me or any other staff member.

    | SRL Community Rules | SRL Live Help & Chat | Setting up Simba | F.A.Q's |

  23. #23
    Join Date
    Nov 2009
    Posts
    471
    Mentioned
    0 Post(s)
    Quoted
    4 Post(s)

    Default

    i have used forms with scar but not simba almost never used simba.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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