Recent

Author Topic: Message Dialog  (Read 29017 times)

HPF_BR

  • Newbie
  • Posts: 3
Message Dialog
« on: October 30, 2008, 03:43:32 pm »
Would be nice if lazarus IDE can have a Message Dialog like Gexperts.org

theo

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1927
RE: Message Dialog
« Reply #1 on: October 30, 2008, 04:19:03 pm »
You mean like this? http://z.about.com/d/delphi/1/0/J/3/gexmsg.gif
Yes, why not.

HPF_BR

  • Newbie
  • Posts: 3
RE: Message Dialog
« Reply #2 on: October 30, 2008, 07:41:37 pm »
Yes, it could speed up coding.

Vincent Snijders

  • Administrator
  • Hero Member
  • *
  • Posts: 2661
    • My Lazarus wiki user page
RE: Message Dialog
« Reply #3 on: October 31, 2008, 09:48:54 am »
Install lazarus/components/messagecomposer/messagecomposerpkg.lpk

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Message Dialog
« Reply #4 on: November 02, 2008, 12:55:00 am »
Vincent,

I followed your tip and installed the messagecomposer package.
But after installation I cannot find the component anywhere.
How do you use it when it's instaled in Lazarus?

 :?:
Jan
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

JanRoza

  • Hero Member
  • *****
  • Posts: 672
    • http://www.silentwings.nl
Message Dialog
« Reply #5 on: November 02, 2008, 02:12:54 am »
Forget my last question, I found it.
Great addition, glad you pointed it out.

  :D
Jan
OS: Windows 10 (64 bit) / Linux Mint (64 bit)
       Lazarus 3.2 FPC 3.2.2
       CodeTyphon 8.40 FPC 3.3.1

Epigear

  • New member
  • *
  • Posts: 7
    • Epigear.com
Re: Message Dialog
« Reply #6 on: September 26, 2011, 01:18:38 pm »
Forget my last question, I found it.
Great addition, glad you pointed it out.

  :D
Jan

I did install the Messagedlg and I also found the the menu entry that allows access to it. But: what unit do you have to include for the compiler to recognize the Messagedlg (and Showmessage) functions? When I try to compile the compiler gags at these functions.

Jan

m.vincent

  • New Member
  • *
  • Posts: 17
Re: Message Dialog
« Reply #7 on: September 26, 2011, 02:01:18 pm »
In Delphi it was "Dialogs" - is it not the same in Lazarus?

Mike

Epigear

  • New member
  • *
  • Posts: 7
    • Epigear.com
Re: Message Dialog
« Reply #8 on: September 27, 2011, 03:07:35 pm »
I have the Dialogs unit included, but no luck. Any ideas?

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Message Dialog
« Reply #9 on: September 28, 2011, 06:34:41 am »
Quote
I have the Dialogs unit included, but no luck. Any ideas?
What does the compiler say? They're really there, see this.

JD

  • Hero Member
  • *****
  • Posts: 1848
Re: Message Dialog
« Reply #10 on: September 28, 2011, 10:44:13 am »
Hi there,

I just discovered this. Wow! I did not even know it existed in Lazarus. I'm used to using GExperts in Delphi and I'm glad to know that after installing the package, a simple Ctrl+M launches it in Lazarus. It's a real time saver.

Great work guys!  :D
« Last Edit: September 28, 2011, 11:00:02 am by JD »
Windows - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe),
Linux Mint - Lazarus 2.1/FPC 3.2 (built using fpcupdeluxe)

mORMot; Zeos 8; SQLite, PostgreSQL & MariaDB; VirtualTreeView

Epigear

  • New member
  • *
  • Posts: 7
    • Epigear.com
Re: Message Dialog
« Reply #11 on: September 28, 2011, 11:23:51 am »
Quote
I have the Dialogs unit included, but no luck. Any ideas?
What does the compiler say? They're really there, see this.

The compiler says: Error: identifier not found "Messagedlg"

I'm porting from Delphi 7. Could it be that it is looking at the Delphi 'Dialogs', I'm now realising.

Blaazen

  • Hero Member
  • *****
  • Posts: 3237
  • POKE 54296,15
    • Eye-Candy Controls
Re: Message Dialog
« Reply #12 on: September 28, 2011, 11:52:33 am »
No idea. If I put "Dialogs" to uses section then MessaageDlg works (and always worked).
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21

Try Eye-Candy Controls: https://sourceforge.net/projects/eccontrols/files/

Leledumbo

  • Hero Member
  • *****
  • Posts: 8757
  • Programming + Glam Metal + Tae Kwon Do = Me
Re: Message Dialog
« Reply #13 on: September 29, 2011, 03:49:57 am »
Quote
I'm porting from Delphi 7. Could it be that it is looking at the Delphi 'Dialogs', I'm now realising.
Shouldn't matter, as the project won't search Delphi one (normally). Do you have LCL as dependency? What if you ctrl+click that 'dialogs' in uses clause? Does it open LCL dialogs unit?

sfeinst

  • Full Member
  • ***
  • Posts: 230
Re: Message Dialog
« Reply #14 on: September 29, 2011, 06:33:57 pm »
The compiler says: Error: identifier not found "Messagedlg"

Is that a typo when you copied the error message or is that the actual error message?  Because I thought it should be MessageDlg not Messagedlg.

 

TinyPortal © 2005-2018