Delphi Pages Forums  

Go Back   Delphi Pages Forums > Delphi Forum > General

Lost Password?

Reply
 
Thread Tools Display Modes
  #1  
Old 06-22-2012, 05:56 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default Way to organize messy icons on forms




I HATE MESSY FORMS

I remember many years ago there was a "faux form" kind of thing

e.g. when you have a lot of these system icons on your form, it gets messy.

So Delphi used to have this kind of "fake form" thing. And, you could drag all these components off of your main form, and put them on this fake form. So it didn't look so messy.

Do you know what this is? Do they still have this?

If not, how can i get these icons to stop bothering me?
Reply With Quote
  #2  
Old 06-22-2012, 06:04 PM
Ouiji Ouiji is offline
Senior Member
 
Join Date: Nov 2001
Location: US of A
Posts: 478
Send a message via AIM to Ouiji
Post

I have run into this problem a couple of times, and the only real solution I could come up with was to create the visual components at runtime, and do away with the icon's all together. Since creating them on the fly can be a bit of a pain, I found myself leaving one of each type on the for to reference the properties from, then create the rest as MyUglyIconVC := TADOQuery.Create(mainform); Then of course you have to manually create all of the Events, IE MyUglyIconVC.OnWeDoneQuerySomeStuffs. Its more work, but usually worth it.
__________________
"not quite smart enough to be dumb"
Extended Stats No Longer Available Due To Changes To The Forum.
Reply With Quote
  #3  
Old 06-22-2012, 06:16 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

hmm..

What about just making another form/unit.

e.g. just a blank gray form to throw all your components on...
Reply With Quote
  #4  
Old 06-22-2012, 07:21 PM
Donovan Donovan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 150
Send a message via Skype™ to Donovan
Default

why not use a data module? That way you can put all the non visual controls on there and still have access to them.

Otherwise GExperts has a Hide/Show Non Visual Components function, you could use that?

Regards

Donovan
Reply With Quote
  #5  
Old 06-22-2012, 07:35 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

oh ya data module

i've never used one

that must have been what i read years and years ago

http://delphi.about.com/od/database/l/aa101601a.htm

so i'm assuming i can just add one of these to my project and then just drag everything in there...
Reply With Quote
  #6  
Old 06-22-2012, 07:41 PM
Donovan Donovan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 150
Send a message via Skype™ to Donovan
Default

well i think you are suppose to start the project off with a Datamodule so I dont really know what dragging all the controls across will do.

Otherwise you can make the form bigger in design time, so that you have space to put all the non visuals, and then set the forms Autosize property to true at create and it will snap back to the size you want.

I still think you should look at the GExperts Hide/Show Non Visual Components though if you can

Regards

Donovan
Reply With Quote
  #7  
Old 06-25-2012, 01:30 PM
delphimpd delphimpd is offline
Senior Member
 
Join Date: Oct 2006
Posts: 648
Default

I think that with a little bit of patience you can do the following:

1. Go to Options and Un-check "Show Components Captions"
2. Organize your Components side by side in a nice lineup way and by category, for example all Images, DataSources beside the dataQueries, menu componets and so on.

I dont know which IDE you have, I have 2010 in which if I have to many components, all I do is Press F6 and type part of my component's Name and the IDE will find it for me.

if you dont have 2010 or above, all you have to do is hover your mouse and the IDE Hint system will reveal the name of your component.

Hope this helps

Good luck
Reply With Quote
  #8  
Old 06-25-2012, 02:07 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

oh dang i just tried to put all my system timers into a datamodule.

but just realized the datamodule wont accept system timers.



maybe i have to use a form...
Reply With Quote
  #9  
Old 06-25-2012, 04:46 PM
Donovan Donovan is offline
Senior Member
 
Join Date: Jan 2011
Posts: 150
Send a message via Skype™ to Donovan
Default

or perhaps add all the timers into a timerlist?
Reply With Quote
  #10  
Old 06-25-2012, 04:55 PM
Dman Dman is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

is this a component somewhere?

is there a delphi Ttimerlist component?
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump


All times are GMT. The time now is 10:57 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.