Author |
Message |
Topic: Naming conventions |
tim
Replies: 1
Views: 8374
|
Forum: DFL Posted: Thu Aug 04, 2005 6:14 am Subject: Naming conventions |
Chris,
Why do you call delegates (or event class instances or whatever) "click" and the internally called member function "onClick"? Is that the Windows Forms convention? (I find the other way arou ... |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 8:08 am Subject: Modal dialogs |
I forgot to mention the form creates children in its constructor and sets their parent property. I assume that creates the handle?
In any case, IMHO forms should be hidden unless explictly specifie ... |
Topic: setBounds suggestion |
tim
Replies: 3
Views: 11435
|
Forum: DFL Posted: Wed Aug 03, 2005 7:44 am Subject: setBounds suggestion |
Too verbose.
with(myControl)
setBounds(left, top, width, 150)
... is much longer than
myControl.setBounds(-1, -1, -1, 150); |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 7:35 am Subject: Modal dialogs |
Instantiating a form automatically creates the handle here (latest snapshot) ... |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 5:57 am Subject: Modal dialogs |
Found out that if you call "hide()" in the constructor of the form you want to show modally, it will not be visible first and then hidden but never be visible until you explicitly call any of the "sho ... |
Topic: setBounds suggestion |
tim
Replies: 3
Views: 11435
|
Forum: DFL Posted: Wed Aug 03, 2005 5:48 am Subject: setBounds suggestion |
I often want to set more than one property, but less than all four. It would be nice if you could do something like:
setBounds(newX, -1, newWidth, -1);
... where -1 means "keep the current value ... |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 5:45 am Subject: Modal dialogs |
Now after several test runs I noticed that the form is indeed first visible, then hidden, then shown again (for showDialog to work it needs to be hidden).
I think it would be more intuitive if form ... |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 5:36 am Subject: Modal dialogs |
Nevermind, there is
MyForm form = new MyForm;
form.hide();
form.showDialog(this); |
Topic: Modal dialogs |
tim
Replies: 10
Views: 23936
|
Forum: DFL Posted: Wed Aug 03, 2005 5:30 am Subject: Modal dialogs |
Is there any support for showing forms modally? |
Topic: ListView icons |
tim
Replies: 6
Views: 14452
|
Forum: DFL Posted: Thu Jul 28, 2005 11:41 am Subject: ListView icons |
Okay thanks, I uploaded the examples as an add-on. BTW, did you create DFL for an application you are developing? If yes, are you allowed to reveal its name? |
Topic: ListView icons |
tim
Replies: 6
Views: 14452
|
Forum: DFL Posted: Thu Jul 28, 2005 7:40 am Subject: ListView icons |
Vathix, is it possible to upload files to the DFL wiki? I've cleaned up the controls I created and added them with a few examples including makefiles to an archive file.
Posting source code here is ... |
Topic: ListView icons |
tim
Replies: 6
Views: 14452
|
Forum: DFL Posted: Thu Jul 28, 2005 6:48 am Subject: ListView icons |
It does not support them yet. I've added functionality to it that allows you to set an image list and specify which image should be displayed next to an item.
I'll clean it up a little and post it ... |
Topic: ListView icons |
tim
Replies: 6
Views: 14452
|
Forum: DFL Posted: Thu Jul 28, 2005 5:20 am Subject: ListView icons |
Does the ListView control support icons yet? If so, how do you add them? |
Topic: Icon button |
tim
Replies: 2
Views: 10334
|
Forum: DFL Posted: Tue Jul 26, 2005 7:10 am Subject: Icon button |
EDITED: Usage of the ExtractIconEx and DrawIconEx function instead of ExtractIcon and DrawIcon resolved all icon size issues! So the button is now able to display both small icons and big icons, which ... |
Topic: Icon button |
tim
Replies: 2
Views: 10334
|
Forum: DFL Posted: Tue Jul 26, 2005 7:08 am Subject: Icon button |
Some screenshots:
http://show.imagehosting.us/show/489031/0/nouser_489/T1_-1_489031.gifhttp://show.imagehosting.us/show/489032/0/nouser_489/T1_-1_489032.gif |
|