I have commited a few changes today.
SAVE PROJECT will work now. It's about 80% complete. It will work best when you create a new project via PROJECT - NEW PROJECT menu.
New Project will work. It creates a Project1.fpr and Unit1.pp file. It opens up ideeditor and adds a page for the Unit1.pp file. It extract info out of these files and adds them to a structure (defined in global.pp) called UnitList.
Unitlist contains the NAME, SOURCE, FILENAME, PAGE, and file type of each unit.
I am using the Project.pp file now in Main.pp. I use it to record a number of things in the .dsk file that's created when you do a SAVE PROJECT. I will create an example and commit it tomorrow. It works similiar to saving your desktop settings works in Delphi. It records which unit is being displayed, the location of the editor window, the location of the cursor in each visible source file, the location of the main window, etc. Works real well actually.
To test these features, run Lazarus and select Project NEW. then move the editor around somewhere and then select SAVE PROJECT. Pick a location. Don't save this into the LAzarus source directory!!! Close Lazarus. Run Lazarus again and select PROJECT - OPEN PROJECT. Select the .fpr file and it should (should!) load the unit and display it exactly where the editor was when you saved. If not, no big deal, I will be working out the bugs tomorrow.
Thanks
---------------------------------------
Shane Miller
Take a look at other product/projects of mine below!
Get paid to surf the net!
http://alladvantage.com/go.asp?refid=DEX-870
Get paid to surf the net by clicking here too!!!
http://epipo.com/sine.asp?dex870
Home page : http://www.lakefield.net/~smiller
Auto-IP Publisher : http://www.lakefield.net/~smiller/autoip
Advanced Clipboard : http://www.lakefield.net/~smiller/advclipboard
Lazarus : http://www.miraclec.com/lazarus
Earlier message 26 lines
----- Original Message -----
From: "Peter Dyson"
To:
Sent: Wednesday, March 01, 2000 9:14 PM
Subject: Re: Linux Clipboard
> >
> > I don't understand this. According to the Win32 API docs, the first
> parameter
> > of OpenClipboard must be a HWND.
> > What did you mean "OpenClipboard needs a window"?
> >
>
> I usually use the forms hWnd when using the API clipboard.
> You could try adding a parent property to the class which is
> a TWinControl, the lowest level object in the VCL with a
> hWnd
>
> Peter
>
> _________________________________________________________________
> To unsubscribe: mail with
> "unsubscribe" as the Subject
> archives at
http://www.miraclec.com/list_archives/lazarus
>