[Lazarus] melp /w TMainMenu

2009-11-27 Thread Chris Jennings
Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a snag that is killing me. I place a TManMenu component on an empty form for a new application p

Re: [Lazarus] melp /w TMainMenu

2009-11-27 Thread Chris Jennings
Martin wrote: Chris Jennings wrote: Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a snag that is killing me. I place a TManMenu component

Re: [Lazarus] melp /w TMainMenu

2009-11-27 Thread Chris Jennings
Thanks - I got it Martin wrote: Chris Jennings wrote: Martin wrote: Chris Jennings wrote: Hi All I am brand new to Lazarus but have experience with Delphi in the distant past. I am just trying to acertain if Lazarus will meet my needs and am playing with some examples. I have run into a

Re: [Lazarus] melp /w TMainMenu

2009-11-28 Thread Chris Jennings
Thanks Andrew Even though I had the solution, I realy appreciate the work you did. - My mistake was to keep placing the cursor back to the top level item (File) as I tried to make changes. cj Andrew Haines wrote: Chris Jennings wrote: Hi All I am brand new to Lazarus but have

[Lazarus] libmysqld

2009-11-28 Thread Chris Jennings
Hi Does anyone know where to find libmysqld for Fedora 11 running mysql 5.1 I have installled all of the libraries (inc development & includding the emmbeded libs) I cannot find the file anywhere in my system and Lazarus complauns when I try to set a TZconnection to True Thanks Chris --

[Lazarus] newbie trouble /w zeos

2009-11-29 Thread Chris Jennings
Hi All I know this is not a Zeos forum but I am new to Lazarus and still trying to decide whether it can meet the needs of an upcomming major open source initiative. I am trying some simple db connectivity. Everything works under XP but I have a failure using the same code under Fedora11.

[Lazarus] finding libmysqlclient

2009-12-02 Thread Chris Jennings
Hi All I am new to Lazarus and having a few problems with whatelse seems to be an excellent development environment. I have past experience with Delphi and am hoping to be able to use Lazarus for a major upcomming open source project. Today I have everything (fpc-2.2.5 / lazarus-0.9.28.2 /

[Lazarus] TBGrid and or TDLookupComboBox help

2009-12-03 Thread Chris Jennings
Hi All Can someone help a newbie with a TBGrid problem. I have the grid on my form and picking up data from one table. I want to click on a row in the grid and have the value of the 1st cell in that row transfered to a DBEdit component that will subsquently be used to update one column in a s

[Lazarus] DBGrid / DBNavigator not refreshing

2009-12-06 Thread Chris Jennings
Hi All When I fill in field values in a series of DBEdits and then click on the Post button of my DBNav the record is inserted in my DB as expected. My problem is that a DBgrid attached to the process does not referesh properley. It does display the addition but does so at the point in the gr

[Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread Chris Jennings
Hi All I have the following column as part of a mySQL table. `courses_subject_lock` CHAR(1) NOT NULL DEFAULT 'F' I would like to modify the state of a DBNav component such that some aspects of it are disabled based on a record set value. Specifically, I would like to disable only the DELETE

Re: [Lazarus] DBGrid / DBNavigator not refreshing

2009-12-06 Thread Chris Jennings
Thanks JoshyFun procedure TfrmSubjects.zqrySubjectsAfterPost(DataSet: TDataSet); begin zqrySubjects.Close; zqrySubjects.Open; end; did the trick cj JoshyFun wrote: Hello Lazarus-List, Sunday, December 6, 2009, 7:24:37 PM, you wrote: CJ> I would like to see the DBGrid refresh such that the

Re: [Lazarus] Partially disabling DBNav based on a record set value

2009-12-06 Thread Chris Jennings
Hi Sorry I'm new to Lazarus and my Delphi experience is way in the past. I have spent the last four years in school studying an unrelated topic. If I code procedure TfrmSubjects.zqrySubjectsAfterScroll(DataSet: TDataSet); begin DBNavigator1.VisibleButtons := [nbFirst,nbPrior,nbNext,nbLast,nb

[Lazarus] Help getting Lazarus to work under Fedora 11 /w mySQL 5.1

2009-12-12 Thread Chris Jennings
Hi All A newbie needs help so that he can return to developing under his prefered environment - Linux. Everything is working fine under Win XP, with the same versions of the development tools. I am actually making good headway in laying out a basic program. My past experience /w Delphi is comm

Re: [Lazarus] Help getting Lazarus to work under Fedora 11 /w mySQL 5.1

2009-12-13 Thread Chris Jennings
libs in minor version changes (eg 5.0 to 5.1) that drive developers of client connection routines batty. I believe that the so.16 libs are for 5.1 and the so.15 libs are for 5.0 Chris Mattias Gaertner wrote: On Sun, 13 Dec 2009 10:46:12 -0800 Chris Jennings wrote: Hi Mattias Thanks for l

[Lazarus] getting values from a DBGrid

2009-12-13 Thread Chris Jennings
Hi All I need to transfer selected values from a DBGrid to a DBMemo Given the following code procedure TfrmCourses.DBGrid2DblClick(Sender: TObject); begin DBMemo3.Lines.Add(DBGrid2.???); end; I would like the row values in the Grid transfered to the memo when a user double

Re: [Lazarus] getting values from a DBGrid

2009-12-13 Thread Chris Jennings
Thanks but DBMemo3.Lines.Add(datGrid.FieldByName('crs_courseName').AsString) returns u_courses.pas(124,30) Error: identifier idents no member "FieldByName" where "datGrid" is the name of my TDatasourse and "crs_courseName" is a column in my db P

Re: [Lazarus] getting values from a DBGrid

2009-12-13 Thread Chris Jennings
Thanks - that did the trick Diwakoe wrote: On Mon, Dec 14, 2009 at 7:47 AM, Chris Jennings wrote: Thanks but DBMemo3.Lines.Add(datGrid.FieldByName('crs_courseName').AsString) returns u_courses.pas(124,30) Error: identifier idents no member "FieldByName" where &quo

[Lazarus] error when transfering SQLite program from XP to Fedora

2009-12-18 Thread Chris Jennings
Hi All I have sucessfully built a small program using sqlite3 under XP. I have transfered it to my Linux box and chaged the file name for the sqlite db file, in the Zeos Connect component, to the new path. Everything compiles corectly, but when I run the program I get an error saying "Bookma

[Lazarus] capturing system shutdown

2009-12-20 Thread Chris Jennings
program. 4. Upon doing #3, the system then continues with shutdown or will acept a new shutdown command. I know that this can be accomplished but have now idea where to start. Any help or code segments would be much appreciated. Thanks Chri