Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2002-09

TComboBox question

21 messages · 7 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Michael A. Hess
to Michal Bukovjan: I have a question about TComboBox: who created and why the special code for combo box in…
Tony Maro wrote 11 lines
I'm having a problem that if I drop a TImage component onto the form, it won't allow me to choose a picture for it... there's no ellipsis button in the property sheet. I can't type in a filename in the property sheet. I tried dropping it on the form and then programatically adding the image at runtime, but then my app will dump. >From what I recall of using Lazarus last night on another machine, I should have an ellipsis button that let's me choose a picture at design time.

I just tried it with last nights binary build and it worked.

==== Programming my first best destiny! ==== Michael A. Hess Miracle Concepts, Inc. http://www.miraclec.com

Reply by email

Michal Bukovjan

Hi,

I have a question about TComboBox:

who created and why the special code for combo box in gtkchangedcb callback? I don't see any reason for this and it breaks Del and Backspace key in combos.

If there is no objection, I will remove the code, but I am asking first
- maybe there is a scenario I miss.

Michal

Reply by email

Shane Miller

I can't look at the code at this time but I know we had to do something special for the combo boxes because they are actually a button, an Entry and a List control and the signals had to be attached to each "sub-control". I'm not sure if that's what you are looking at.

Shane

Earlier message 30 lines
-----Original Message----- From: Mattias Gaertner Sent: Wednesday, September 04, 2002 1:18 PM To: Subject: Re: [lazarus] TComboBox question On Wed, 04 Sep 2002 19:20:15 +0200 Michal Bukovjan wrote: > Hi, > > I have a question about TComboBox: > > who created and why the special code for combo box in gtkchangedcb > callback? I don't see any reason for this and it breaks Del and > Backspace key in combos. > > If there is no objection, I will remove the code, but I am asking first > - maybe there is a scenario I miss. If you remove it, setting the text will allways fire a changed signal. Mattias _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Reply by email

Mattias Gaertner
to Michal Bukovjan: I have a question about TComboBox: who created and why the special code for combo box in…
Show quoted text 10 lines
Hi, I have a question about TComboBox: who created and why the special code for combo box in gtkchangedcb callback? I don't see any reason for this and it breaks Del and Backspace key in combos. If there is no objection, I will remove the code, but I am asking first - maybe there is a scenario I miss.

If you remove it, setting the text will allways fire a changed signal.

Mattias

Reply by email

Tony Maro
to Michal Bukovjan: I have a question about TComboBox: who created and why the special code for combo box in…

I'm having a problem that if I drop a TImage component onto the form, it won't allow me to choose a picture for it... there's no ellipsis button in the property sheet. I can't type in a filename in the property sheet.

I tried dropping it on the form and then programatically adding the image at runtime, but then my app will dump.

From what I recall of using Lazarus last night on another machine, I

should have an ellipsis button that let's me choose a picture at design time.

-Tony

Reply by email