View Full Version : Simba's Extensions menu, how are the tabs made?
LordJashin
03-24-2012, 08:36 PM
Ima ask nielsie the creator of this -
http://s18.postimage.org/q3xdi8fop/sex_updates.jpg
Does anyone know what is used? What form component for the tabs?
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?
LordJashin
03-24-2012, 08:41 PM
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.
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 :p
LordJashin
03-24-2012, 08:46 PM
He's asking how the tabs were created
EDIT: LordJashin are you from MG?MG stands for???
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 :)
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
LordJashin
03-24-2012, 08:54 PM
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 :garfield:
LordJashin
03-24-2012, 08:56 PM
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
Brandon
03-24-2012, 08:57 PM
What?
To make an extension http://docs.villavu.com/simba/simbaref/extensions.html#writing-simba-extensions
Wizzup?
03-24-2012, 08:58 PM
Ima ask nielsie the creator of this -
http://s18.postimage.org/q3xdi8fop/sex_updates.jpg
Does anyone know what is used? What form component for the tabs?
Did you check Projects/Simba/extensionmanagergui.pas?
LordJashin
03-24-2012, 09:02 PM
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?
Lol it was on google, copyright? Its nielsies lol, he made the menu in the first place :garfield:
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.. :p
LordJashin
03-24-2012, 09:17 PM
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.. :p
NOT ON GOOGLE? LOOK lol - http://bit.ly/GNvdsV
Then click on images its the 3rd one
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 :duh:
LordJashin
03-24-2012, 09:20 PM
HUH :) :S
I have an image on GOOGLE!
wow.....
P.S- oops sorry, I had no idea :duh:
Congratulations! You are forever famous now :)
LordJashin
03-24-2012, 09:24 PM
Ima ask nielsie the creator of this -
http://s18.postimage.org/q3xdi8fop/sex_updates.jpg
Does anyone know what is used? What form component for the tabs?
I knew it!
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 :D
Edit2: Where are all of Simba's forms stuff at? Nvm I think all of it is in ComCtrls
Wizzup?
03-24-2012, 09:33 PM
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. :p )
If you can't figure it out yourself, file a bug. :)
LordJashin
03-24-2012, 09:38 PM
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. :p )
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? :p
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
Wizzup?
03-24-2012, 09:45 PM
{$I treeview.inc}
{$I customlistview.inc}
No idea what tree view is. What is this code in right now? :p
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)
LordJashin
03-24-2012, 09:48 PM
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 :D
// 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?
Daniel
03-25-2012, 12:22 AM
What are these ? TPSPropType = (iptRW, iptR, iptW);
R = Read only
W = Write only
RW = Read + Write
tom99
03-25-2012, 06:55 PM
i have used forms with scar but not simba almost never used simba.
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.