Re: [lazarus] alignment issues.

2006-05-04 Thread Micha Nelissen
Alexander Todorov wrote: I assumed that button f1 will be aligned to the right, button f2 will be aligned to the right, next to the f1, and the edit box will fill the remaining space. Ehm, doesn't your description match the picture ? The control that you align to the right last, will be in the

Re: [lazarus] Internal workings of the Lazarus Form Designer

2006-05-04 Thread C Western
Graeme Geldenhuys wrote: Thanks for those pointers. I will work through the main.pp unit next. Regards, - Graeme - On 03/05/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: On Wed, 3 May 2006 14:46:27 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Hi > > I am trying to see where th

Re: [lazarus] alignment issues.

2006-05-04 Thread Alexander Todorov
On 5/4/06, Borut Maricic <[EMAIL PROTECTED]> With all due respect, what Todorov has made was - IMHO - an example that was recreating an issue. That's right. So, the original question is grounded and I will just restate it here: The code sequence f1 := TButton.Create(Form1); with f1 do begi

Re: [lazarus] some questions about Lazarus

2006-05-04 Thread Colin Western
Felipe Monteiro de Carvalho wrote: On 5/3/06, dR <[EMAIL PROTECTED]> wrote: Hello, I have some questions about Lazarus. What is the status of drag-and-drop functionality? Is anyone working on it, and do you need help? I think noone is working on it and it needs to be implemented. Any help wou

[lazarus] [patch] enabled cx_maximized for gtk

2006-05-04 Thread darekm
as in subject Darek Index: interfaces/gtk/gtkproc.inc === --- interfaces/gtk/gtkproc.inc (wersja 9239) +++ interfaces/gtk/gtkproc.inc (kopia robocza) @@ -8371,6 +8371,40 @@ {$ENDIF UseXinerama} {$ENDIF Gtk1} +function XGetWork

Re: [lazarus] alignment issues.

2006-05-04 Thread Borut Maricic
On 2006-05-04 at 18:30, Graeme Geldenhuys ([EMAIL PROTECTED]) wrote: > You never showed the code for Panel1...? How big is Panel1? > Also it isn't a good idea to declare f1, f2 and E as local variables > in FormCreate. You will never be able to reference it again I just happened to browse t

Re: [lazarus] [IDE] Create a new project dialog - bug found - correction sugestion

2006-05-04 Thread Mattias Gaertner
On Wed, 3 May 2006 21:32:19 -0300 "Cristiano Scardini" <[EMAIL PROTECTED]> wrote: > Hi ... > > I found a bug in "Create new project" Dialog on Lazarus 0.9.14 beta ... > > if the user navegate with projects by key up and key down, the label of > projection drescription is not atualized! > > The

Re: Creating a GUI based DLL with FPC 2.0.2

2006-05-04 Thread Alexandre Leclerc
2006/5/4, Alexandre Leclerc <[EMAIL PROTECTED]>: Now, I have to build a GUI based app inside a DLL with FPC 2.0.2 since I can't link with the DLL build with latest version -- this is just not working at all. I can't do this, this is not working, as L505 told me. I tried to bypass my compiler v

Re: [lazarus] Creating a GUI based DLL with FPC 2.0.2

2006-05-04 Thread Alexandre Leclerc
2006/5/4, L505 <[EMAIL PROTECTED]>: Which copy of lazarus do you work with? 0.9.XX Version: 0.9.15 beta Date: 2006-04-02 SVN Revision: 9060 I have issues with dll construction. I'm affraid of that. Compiling my simple md5 dll with one funciton wih fpc2.0.2 is working. But if I add another func

Re: [lazarus] Creating a GUI based DLL with FPC 2.0.2

2006-05-04 Thread L505
> In january I was told by L505 that "If you decide to use fpc 2.0.2 > remember that when you build a normal lazarus GUI style application > you may have to change back to your old compiler in the lazarus > directory." -- Thread subject: "Help with DLL (using pchar, etc.)" > date 2006/01/12 I thin

Re: [lazarus] TMainMenu issues

2006-05-04 Thread Bogusław Brandys
Martin Smat wrote: Bogusław Brandys wrote: Hi, TMainMenu is fairy broken now - shortcuts do not work, background of menu bar is white which is not default ,disable actions problem and so on. What is the reason of such problems ? I thought that TMainMenu has stable implementation. I sup

Re: [lazarus] alignment issues.

2006-05-04 Thread Graeme Geldenhuys
You never showed the code for Panel1...? How big is Panel1? Also it isn't a good idea to declare f1, f2 and E as local variables in FormCreate. You will never be able to reference it again Regards, - Graeme - On 04/05/06, Alexander Todorov <[EMAIL PROTECTED]> wrote: Hello, what do you

[lazarus] Creating a GUI based DLL with FPC 2.0.2

2006-05-04 Thread Alexandre Leclerc
Hi all, In january I was told by L505 that "If you decide to use fpc 2.0.2 remember that when you build a normal lazarus GUI style application you may have to change back to your old compiler in the lazarus directory." -- Thread subject: "Help with DLL (using pchar, etc.)" date 2006/01/12 (I can

Re: Creating an ActiveX - Is this possible?

2006-05-04 Thread Alexandre Leclerc
2006/5/4, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]>: Why can´t you send a pointer to a callback function? Many libraries do that. Hehehe. Welcome to the wonderful world of Visual Dataflex... this programming language does not allows this. The compiler will simply not manage it. My goal

[lazarus] alignment issues.

2006-05-04 Thread Alexander Todorov
Hello, what do you expect to be the result from the following code : procedure TForm1.FormCreate(Sender: TObject); var f1, f2 : TButton; E : TEdit; begin f1 := TButton.Create(Panel1); with f1 do begin Parent := Panel1; Align := alRight; Caption := '1'; end; f2

Re: [lazarus] Lazarus in Google summer of code 2006 ?

2006-05-04 Thread Felipe Monteiro de Carvalho
People can still submit Free Pascal / Lazarus projects. You just have to put Google as your Mentor. I think that doing so may help getting us as official mentors on the next Summer of Code. Also be aware that you need to submit soon (next 4 days probably). Also, write as many details as possib

Re: Creating an ActiveX - Is this possible?

2006-05-04 Thread Felipe Monteiro de Carvalho
Hello, If you explain what exactly you are trying to do maybe we can have other ideas. On 5/3/06, Alexandre Leclerc <[EMAIL PROTECTED]> wrote: using a DLL is possible but only as a library; there are no ways to send a pointer to a call-back function to create a kind of event based interractivit

Re: [lazarus] Lazarus in Google summer of code 2006 ?

2006-05-04 Thread Michael Van Canneyt
On Thu, 4 May 2006, Lepidosteus wrote: > On 4/26/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > > On Wed, 26 Apr 2006 09:30:26 -0300 > > "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > > > > > On 4/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > > wrote: > > > > Separate tool, It'

Re: [lazarus] Lazarus in Google summer of code 2006 ?

2006-05-04 Thread Lepidosteus
On 4/26/06, Mattias Gaertner <[EMAIL PROTECTED]> wrote: On Wed, 26 Apr 2006 09:30:26 -0300 "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > On 4/25/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> > wrote: > > Separate tool, It's better it's development at start. > > > > You may added to Laza

Re: [lazarus] Re: PDAs, Smartphones and form design

2006-05-04 Thread Christian U.
> Also, thinking some more I think that I can design various GUIs for > the same app just using some IFDEFs on the main program unit. > > About form resizing. To make it easely integratable maybe we could > have a function (or method of TForm or TApplication) that if called > will adjust the compon

Re: [lazarus] Creating an ActiveX - Is this possible?

2006-05-04 Thread Alexandre Leclerc
I've seen that there are no support for TActiveForm, etc. So I must use De;phi for the ActiveX. (My problem is that my D3 can't compile a component which will work on D4 minumum - the excellent VirtualTreeView.) I'll look for other solutions... maybe a DLL solution could work. If yes and fast to

Re: [lazarus] Delphi compatibility in RecNo and Recordcount

2006-05-04 Thread Alexander Todorov
On 5/4/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: He also meant the Delphi-behaviour. I'll change it. Joost. My fault, sorry. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject

Re: [lazarus] Delphi compatibility in RecNo and Recordcount

2006-05-04 Thread Joost van der Sluis
On Thu, 2006-05-04 at 10:26 +0300, Alexander Todorov wrote: > On 5/3/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > > > I have a lot of code which counts on this 1-Recordcount behaviour. > > And some people may have a lot of code that counts on the Delphi > behaviour (if I understand you cor

Re: [lazarus] Delphi compatibility in RecNo and Recordcount

2006-05-04 Thread Alexander Todorov
On 5/3/06, Joost van der Sluis <[EMAIL PROTECTED]> wrote: > I have a lot of code which counts on this 1-Recordcount behaviour. And some people may have a lot of code that counts on the Delphi behaviour (if I understand you correctly). ___