Well, two things have pop'd up that are really important. The first is very
important – the definition of “RegID”. I said that Dabo will assign a unique
RegID if one is not assigned by the programmer. This is WRONG! “RegID” must
be assigned by the programmer. It was my misunderstanding.
johnf wrote:
Ed and Paul are programmers and by definition are lazy (we all are). So they
have created short cuts for many of the things that you'll do daily while
programming with Dabo. There are many so I'll only show two and let you
explore/find the others for yourself. The
def _openDialog(self,evt):
# need to receive the evt (in this case a click or Hit)
evt.stop()
theDialog=dabo.ui.dFileDialog(self)
theDialog.show()
if sys.platform == 'win32':
myseperator
On Dec 4, 2007, at 10:28 AM, Bill Bedford wrote:
Just one other small point, Could you change the subject for each of
the next mini tutorials please? I will make finding them much easier.
Actually, start a new thread, rather than replying and changing the
subject. Most email programs
On Tue, 4 Dec 2007 00:33:29 -0800, johnf wrote:
Well, two things have pop'd up that are really important.
Just one other small point, Could you change the subject for each of
the next mini tutorials please? I will make finding them much easier.
--
Bill Bedford
Man is an animal suspended
On Tuesday 04 December 2007 01:08:15 am Uwe Grauer wrote:
Nice done John.
People new to Dabo will appreciate these tutorials very much.
Hopefully your posts will get included into the wiki later.
Uwe
Thanks and that is what going to happen. I'll wrap all the messages up and
post on the
Under Windows, the Checks appear as dots. I can live with this as the
dots appear and disappear as the item is checked and unchecked.
However, with the radio menu items, all of the items in a group have
the dots. There is absolutely no way to tell what is checked. I am
pretty sure this is a Wx
On Tuesday 04 December 2007 01:26:20 am Henning Hraban Ramm wrote:
def _openDialog(self,evt):
# need to receive the evt (in this case a click or Hit)
evt.stop()
theDialog=dabo.ui.dFileDialog(self)
theDialog.show()
On Dec 4, 2007 9:17 AM, johnf [EMAIL PROTECTED] wrote:
On Tuesday 04 December 2007 01:26:20 am Henning Hraban Ramm wrote:
def _openDialog(self,evt):
# need to receive the evt (in this case a click or Hit)
evt.stop()
On Dec 4, 2007, at 11:33 AM, Nate Lowrie wrote:
Also note that instead of combining things by yourself, you can use
the os.path.join function. It takes any number of arguments and will
automatically add in the right separator. Ex. os.path.join(usr,
local, MyDirectory, MyFile) will spit back
On Tuesday 04 December 2007 07:18:39 am Nate Lowrie wrote:
It's not being lazy by any means. It is just being more productive. 8)
Is that what you tell your employer ;-)
Note here that you can write this as:
Vsizer.append(dabo.ui.dButton(self, Caption='Button'),1,'x')
or
On Tuesday 04 December 2007 07:28:02 am Bill Bedford wrote:
On Tue, 4 Dec 2007 00:33:29 -0800, johnf wrote:
Well, two things have pop'd up that are really important.
Just one other small point, Could you change the subject for each of
the next mini tutorials please? I will make finding them
On Dec 4, 2007, at 11:37 AM, johnf wrote:
So I decided that I should stop any event after it did it job.
In a tutorial, you should only include what is necessary, as it will
become a reference doc for others, and they may assume that they need
to write evt.stop() everywhere.
On Dec 4, 2007, at 11:41 AM, johnf wrote:
But it will break the
thread for many that group on subject lines within their email
clients.
The point is that it *should* be broken. You are not writing about
'standalong Dabo games', are you?
-- Ed Leafe
-- http://leafe.com
--
On Tuesday 04 December 2007 08:33:13 am Nate Lowrie wrote:
Also note that instead of combining things by yourself, you can use
the os.path.join function. It takes any number of arguments and will
automatically add in the right separator. Ex. os.path.join(usr,
local, MyDirectory, MyFile)
On Tuesday 04 December 2007 08:47:01 am Ed Leafe wrote:
On Dec 4, 2007, at 11:37 AM, johnf wrote:
So I decided that I should stop any event after it did it job.
In a tutorial, you should only include what is necessary, as it will
become a reference doc for others, and they may assume
On Tuesday 04 December 2007 08:47:51 am Ed Leafe wrote:
On Dec 4, 2007, at 11:41 AM, johnf wrote:
But it will break the
thread for many that group on subject lines within their email
clients.
The point is that it *should* be broken. You are not writing about
'standalong Dabo
On Dec 4, 2007, at 11:54 AM, johnf wrote:
You're right and I met to remove the line but forgot. Still in our
code is
there any harm in stopping the event?
There might be, but I doubt it. The harm is in teaching a bad/
useless habit.
-- Ed Leafe
-- http://leafe.com
--
johnf wrote:
OK what should the thread be named? It's sort of important because the name
should match what we will use on the wiki.
On the wiki you could just include references to the subjects you used.
___
Post Messages to:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the code...
Cheers,
Nate L.
___
Post Messages to: Dabo-users@leafe.com
Subscription Maintenance:
On Dec 4, 2007, at 12:36 PM, Nate Lowrie wrote:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the code...
Use dBitmapButton, not dButton.
-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com
Nate Lowrie wrote:
Note that OnHit is generally the controls main event. On a button
that means when it is pressed. On a list control it is when a list
item is selected. On a dTextBox it is when you enter text and hit the
enter key. It is a convenient thing to know. If you need specific
thanks... I feel dumb at the moment...
On Dec 4, 2007 10:41 AM, Ed Leafe [EMAIL PROTECTED] wrote:
On Dec 4, 2007, at 12:36 PM, Nate Lowrie wrote:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the code...
Use
On Tuesday 04 December 2007 09:36:29 am Nate Lowrie wrote:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the code...
Cheers,
Nate L.
use a dBitmapButton and Picture=/home/mypics/aPicofNate.png. What a thought
a picture
Nate Lowrie wrote:
thanks... I feel dumb at the moment...
On Dec 4, 2007 10:41 AM, Ed Leafe [EMAIL PROTECTED] wrote:
On Dec 4, 2007, at 12:36 PM, Nate Lowrie wrote:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the
Ok, stuck again...Can I put a caption under the bitmap?
On Dec 4, 2007 10:43 AM, johnf [EMAIL PROTECTED] wrote:
On Tuesday 04 December 2007 09:36:29 am Nate Lowrie wrote:
I know I have done it before somewhere. What is the syntax to put an
Image in a button? Couldn't find anything in the
On Dec 4, 2007 10:45 AM, Paul McNett [EMAIL PROTECTED] wrote:
Nate Lowrie wrote:
thanks... I feel dumb at the moment...
On Dec 4, 2007 10:41 AM, Ed Leafe [EMAIL PROTECTED] wrote:
On Dec 4, 2007, at 12:36 PM, Nate Lowrie wrote:
I know I have done it before somewhere. What is the
On Dec 4, 2007, at 12:45 PM, Paul McNett wrote:
Use dBitmapButton, not dButton.
Actually, this has bothered me from the beginning: we should really
have
a single class, dButton, which can display text and/or pictures. This
will probably wait until our redesign - if it happens -
On Dec 4, 2007, at 12:46 PM, Nate Lowrie wrote:
Ok, stuck again...Can I put a caption under the bitmap?
Not unless you draw it yourself using: cap = self.drawText(...)
The wxPython implementation centers the text on the button, along
with the image, so that if you have both,
On Dec 4, 2007 10:41 AM, Paul McNett [EMAIL PROTECTED] wrote:
Nate Lowrie wrote:
Note that OnHit is generally the controls main event. On a button
that means when it is pressed. On a list control it is when a list
item is selected. On a dTextBox it is when you enter text and hit the
Nate Lowrie wrote:
On Dec 4, 2007 10:41 AM, Paul McNett [EMAIL PROTECTED] wrote:
Nate Lowrie wrote:
On one last note, I think that you should make the dTextBox read only.
Coming from a correct code standpoint, if the users are entering the
dTextBox value through the dFileDialog, you
After 14 years of being an independent consultant, I've decided to
return to the ranks of the employed. I've just accepted a position as
Senior Python Developer with Rackspace Managed Hosting in San
Antonio, Texas.
For me it means moving down to San Antonio and leaving my
Congratulations! Best of luck to you and yours.
Larry Long
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Leafe
Sent: Tuesday, December 04, 2007 1:33 PM
To: ProFox Mailing List; Dabo Users list
Subject: [dabo-users] [OT] Consultant No More
Nate Lowrie wrote:
On Dec 4, 2007 10:41 AM, Paul McNett [EMAIL PROTECTED] wrote:
Nate Lowrie wrote:
Note that OnHit is generally the controls main event. On a button
that means when it is pressed. On a list control it is when a list
item is selected. On a dTextBox it is when you enter
Nate Lowrie wrote:
On Dec 4, 2007 10:45 AM, Paul McNett [EMAIL PROTECTED] wrote:
But at the very least we should have named it 'dImageButton' or
'dPictureButton'.
It is misleading because you can use picture formats other than bmp in
the button. I agree with you on the single class.
Yes,
Ed Leafe wrote:
After 14 years of being an independent consultant, I've decided to
return to the ranks of the employed. I've just accepted a position as
Senior Python Developer with Rackspace Managed Hosting in San
Antonio, Texas.
Very best wishes for you!
Working with other
Congrats on the job Ed.
Mike Wohlrab
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Ed Leafe
Sent: Tuesday, December 04, 2007 3:07 PM
To: Dabo Users list
Subject: Re: [dabo-users] [OT] Consultant No More
On Dec 4, 2007, at 2:54 PM, Nate Lowrie wrote:
On Dec 4, 2007 1:33 PM, Ed Leafe [EMAIL PROTECTED] wrote:
After 14 years of being an independent consultant, I've decided to
return to the ranks of the employed. I've just accepted a position as
Senior Python Developer with Rackspace Managed Hosting in San
Antonio, Texas.
That must
On Dec 4, 2007, at 3:45 PM, Ted Roche wrote:
That must have been a tough decision. Best of luck. Getting paid for
Python work -- very cool!
If it wasn't such an impressive company, I would never have done it.
And yeah, I don't think I could go back to VFP at this point!
-- Ed Leafe
I have a dCheckbox in a preference dialog and I want it to set the
value of the preference setting MySetting. Do I have to create the
glue code by hand or can I bind it with say DataSoruce/DataField? If
I can bind it, what is the syntax for binding it?
Cheers,
Nate L.
I just tried to use ClassDesigner after latest update and got following error:
Traceback (most recent call last):
File ClassDesigner.py, line 14, in module
from ClassDesignerFormMixin import ClassDesignerFormMixin as dfm
File /home/aklaver/test/dabo/ide/ClassDesignerFormMixin.py, line 9,
Adrian Klaver wrote:
I just tried to use ClassDesigner after latest update and got following error:
Traceback (most recent call last):
File ClassDesigner.py, line 14, in module
from ClassDesignerFormMixin import ClassDesignerFormMixin as dfm
File
Nate Lowrie wrote:
I have a dCheckbox in a preference dialog and I want it to set the
value of the preference setting MySetting. Do I have to create the
glue code by hand or can I bind it with say DataSoruce/DataField? If
I can bind it, what is the syntax for binding it?
I think you should
On Dec 4, 2007, at 4:29 PM, Adrian Klaver wrote:
I just tried to use ClassDesigner after latest update and got
following error:
Traceback (most recent call last):
File ClassDesigner.py, line 14, in module
from ClassDesignerFormMixin import ClassDesignerFormMixin as dfm
File
On Dec 4, 2007, at 4:44 PM, Paul McNett wrote:
Hmm... it looks like that was fixed in revision 3760 so it should have
made it into 3767 which it looks like is the revision you are using.
However, because Web Update is for the Dabo library itself and not for
applications that use the Dabo
On Dec 4, 2007, at 4:45 PM, Paul McNett wrote:
I have a dCheckbox in a preference dialog and I want it to set the
value of the preference setting MySetting. Do I have to create the
glue code by hand or can I bind it with say DataSoruce/DataField? If
I can bind it, what is the syntax for
-- Original message --
From: Ed Leafe [EMAIL PROTECTED]
On Dec 4, 2007, at 4:44 PM, Paul McNett wrote:
Hmm... it looks like that was fixed in revision 3760 so it should have
made it into 3767 which it looks like is the revision you are using.
However,
On Dec 4, 2007, at 10:51 AM, Nate Lowrie wrote:
Under Windows, the Checks appear as dots. I can live with this as the
dots appear and disappear as the item is checked and unchecked.
However, with the radio menu items, all of the items in a group have
the dots. There is absolutely no way to
Quite a decision Ed. I wish you and your family well in the trial periods
that are sure to come.
Our prayers go with you.
PabloSr.
* -Original Message-
* From: [EMAIL PROTECTED] [mailto:dabo-users-
* [EMAIL PROTECTED] On Behalf Of Ed Leafe
* Sent: Tuesday, December 04, 2007 1:33 PM
*
49 matches
Mail list logo