Re: [Lazarus] GUI design: fixed height panel at bottom

2015-01-07 Thread Dmitry Boyarintsev
On Wed, Jan 7, 2015 at 11:45 PM, Marc Santhoff wrote: > In principle that approch is working, but seemingly using the align > property and anchors together produces unexpected results - at least for > me. > In this simple design you don't need to use anchors at all. Alignment does it for you. If

Re: [Lazarus] GUI design: fixed height panel at bottom

2015-01-07 Thread Dmitry Boyarintsev
The bottom panel should have alignment alBottom. The top panel shoud have alClient Thanks, Dmitry On Wednesday, January 7, 2015, Marc Santhoff wrote: > Hi, > > as the subject line says, I want to have a panel attached to the bottom > and the sides of a form, which is pretty easy to to using the

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-11 Thread Dmitry Boyarintsev
On Thu, Dec 11, 2014 at 4:13 PM, Graeme Geldenhuys < mailingli...@geldenhuys.co.uk> wrote: > Why would it be widgetset specific? Isn't LCL cross-platform any more? > If you implement a new GUI component using LCL, surely it should work on > all platforms? That is how fpGUI Toolkit works, and the

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-11 Thread Dmitry Boyarintsev
On Thu, Dec 11, 2014 at 12:31 PM, Mark Morgan Lloyd < markmll.laza...@telemetry.co.uk> wrote: > > And it needs a decent index, with up-to-date links. Whenever I've gone > looking for something I've had to resort to Google to find where it > actually lives. > This index? http://wiki.freepascal.org

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-11 Thread Dmitry Boyarintsev
On Thu, Dec 11, 2014 at 1:11 AM, Hans-Peter Diettrich wrote: > As I understand that: The components in the LCL should be available with > all supported widgetsets. An implementation for only one widgetset is not > worth of adding it to the LCL, because it would burden the LCL maintainers > with t

Re: [Lazarus] Only VCL-compatible components in LCL

2014-12-10 Thread Dmitry Boyarintsev
On Wed, Dec 10, 2014 at 9:42 AM, Felipe Monteiro de Carvalho < felipemonteiro.carva...@gmail.com> wrote: > I think that the problem is that imagine you are a beginner using a > library and this library has 5 comboboxes, 7 buttons, 3 different open > dialogs its just bad design. > I'm still b

Re: [Lazarus] Thanks to FPC team: Record helper for primitive types!

2014-11-29 Thread Dmitry Boyarintsev
On Sat, Nov 29, 2014 at 12:32 PM, Michael Van Canneyt < mich...@freepascal.org> wrote: > > For beginners, this really is an invaluable aid which cannot be > underestimated. Morfik Appsbuilder had this already almost 10 years ago. > > For this reason, Sven, I would really enable this also by defaul

Re: [Lazarus] TWin32WSCustomX class

2014-11-19 Thread Dmitry Boyarintsev
On Wed, Nov 19, 2014 at 1:04 AM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > If you want to adjust paragraph attributes for the current selection only > then you can subclass RichMemo (or CustomRichMemo) and add delphi RichEdit > compatible properties, that wou

Re: [Lazarus] TWin32WSCustomX class

2014-11-18 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 4:24 PM, Antônio wrote: > You can joke or you can implement RichEdit on Windows. The choice is yours. > > See lzRichEdit implementation. > I see what you mean now. If you want to adjust paragraph attributes for the current selection only then you can subclass RichMemo (or

Re: [Lazarus] TWin32WSCustomX class

2014-11-11 Thread Dmitry Boyarintsev
On Tuesday, November 11, 2014, Antônio wrote: > I could not install RichMemo other than 3703 revision because the code > does not compile and/or does not install (I can not understand that). > What revisions did you try and what was the error message? Is it true that r3703 installed for you after

Re: [Lazarus] TWin32WSCustomX class

2014-11-11 Thread Dmitry Boyarintsev
On Tuesday, November 11, 2014, Antônio wrote: > Well, it seems that we have RichMemo, which does not work on Windows > Oh snap! These are loud words. Please bug report what exactly doesn't work. Thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 1:47 PM, Antônio wrote: > Why not to implement it on Windows in a way it works fine on this OS? > Gtk development team failed to copy WinAPI obviously. But to be more serious, Gtk doesn't provide RTF native reading. thanks, Dmitry --

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 11:56 AM, Antônio wrote: > Does RichMemo work fine in Linux? > > It does work fine to a certain extent. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 9:59 AM, Antônio wrote: > Windows RichEdit messages refer to selection, you don't need to refer to > text range. > > Windows specific implementation has no effect on the interface of RichMemo. However, if there's a glitch in the Windows implementation please report it. t

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
On Mon, Nov 10, 2014 at 9:55 AM, Antônio wrote: > GetTextAttribute depends on SelStart and it causes errors. > > GetTextAttributes accepts start/end of the text. Which can be different than SelStart value. thanks, Dmitry -- ___ Lazarus mailing list Laz

Re: [Lazarus] TWin32WSCustomX class

2014-11-10 Thread Dmitry Boyarintsev
Hello Antonio Please note that "Undo" is part of the WSCustomMemo, thus it should not be reintroduced in RichMemo. Other "attributes" getting methods are just duplicates of the existing method GetTextAttribute. Sorry - not acceptable. . thanks, Dmitry -- __

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Dmitry Boyarintsev
On Sun, Nov 9, 2014 at 4:42 PM, Antônio wrote: > Should I post the files here:? > > You could post the diff file here or you could attach it to the bug report you've already created. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.free

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Dmitry Boyarintsev
On Sun, Nov 9, 2014 at 4:37 PM, Antônio wrote: > In fact the method name is GetSelectionColor, which is not coincident with > any other method you could have written before. > So let's trade. You share your code, I share the knowledge of what is wrong with it. thanks, Dmitry -- _

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Dmitry Boyarintsev
Antônio I can only guess that the changes you're talking about were reported here: http://bugs.freepascal.org/view.php?id=27009 >From the changes I can see noted there, they're done not quite accurate manner. For example, Windows specific code is moved to TWSCustomRichMemo class (WSRichMemo.pas).

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Dmitry Boyarintsev
On Sun, Nov 9, 2014 at 3:26 PM, Antônio wrote: > So what the hell do class procedure TCustomRichMemo.WSRegisterClass? > > It associates the LCL TCustomRichMemo with a certain WS-handler class. That's necessary at the time TRichMemo is allocated by LCL it would receive a proper WS-level handler a

Re: [Lazarus] TWin32WSCustomX class

2014-11-09 Thread Dmitry Boyarintsev
On Sun, Nov 9, 2014 at 6:27 AM, Antônio wrote: > The control is TRichMemo. > > Hello Antônio Need to be noted that RichMemo is not part of standard LCL but a separate package. Thus it has its own set of "register" process. See richmemofactory.pas. This is the place where the Widgetset-specific

Re: [Lazarus] [FEATURE REQUEST] Tip of the day

2014-09-04 Thread Dmitry Boyarintsev
And slow down the IDE startup. Also the wiki would loose it flexibility, since the page must always be there. thanks, Dmitry On Thu, Sep 4, 2014 at 4:18 PM, William Ferreira < williamoferre...@outlook.com> wrote: > and if make it loads from the laz wiki? maybe help centering all data... > > ---

Re: [Lazarus] [FEATURE REQUEST] Tip of the day

2014-09-04 Thread Dmitry Boyarintsev
The problem with "tip of the day", is that it must be maintained according to the IDE updates. "Tip of the day" would be useless (and harmful), if it suggests a feature that's no longer in the IDE. Another complication of the "TOTD" is that it needs to be translated. Otherwise it's also useless, i

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Dmitry Boyarintsev
On Mon, Aug 25, 2014 at 10:47 AM, Joost van der Sluis wrote: > 2. Could the compiler add more information to make this easier? Or >> is it simply a matter of compiling everything with a stack frame? >> >> How about using a 3d party library compiled without debugging info / >> stack frame

Re: [Lazarus] Need testers for the a new debugger

2014-08-25 Thread Dmitry Boyarintsev
On Mon, Aug 25, 2014 at 6:26 AM, C Western wrote: > > 1. How about a "slow step" option? > What's is slow step option? Is it stepping over each instruction until the next known line reached? 2. Could the compiler add more information to make this easier? Or is it > simply a matter of compiling e

Re: [Lazarus] formatfloat negative zero (-0)

2014-07-09 Thread Dmitry Boyarintsev
Hello Andrea, I thing it would worth mentioning Delphi's behavior? And the bug report is also missing a patch to fix the problem :) thanks, Dmitry On Wed, Jul 9, 2014 at 8:21 AM, Andrea Mauri wrote: > > > Il 09/07/2014 13:44, Lukasz Sokol ha scritto: > >> As a matter of fact, I can... on Turb

Re: [Lazarus] formatfloat negative zero (-0)

2014-07-07 Thread Dmitry Boyarintsev
sult[1]='-1') then begin > > maybe ( '-1' -> '-' ) > > if (Result<>'') and (Result[1]='-') then begin > > ? > > > > > > Em 07.07.2014 10:48, Dmitry Boyarintsev escreveu: > > Will straight forward solu

Re: [Lazarus] formatfloat negative zero (-0)

2014-07-07 Thread Dmitry Boyarintsev
Will straight forward solution work? how about this: unit MySysUtils; interface uss SysUtils; // the function will cut heading "-" if all digits in the number are zeros. // it will leave the result unchanged otherwise. function FormatFloat(const fmt: string; num: double): string; var i : int

Re: [Lazarus] Adding functionality to a control

2014-06-06 Thread Dmitry Boyarintsev
You're probably looking for http://wiki.freepascal.org/SynEdit or http://wiki.freepascal.org/RichMemo ? thanks, Dmitry On Thu, Jun 5, 2014 at 12:45 PM, Timothy Groves wrote: > Hi! I want to add some features to TMemo. Unfortunately, I am still weak > on Lazarus. Is there a decent tutorial o

Re: [Lazarus] OpenGL

2014-05-28 Thread Dmitry Boyarintsev
On Wed, May 28, 2014 at 11:34 AM, Chavoux Luyt wrote: > I have two questions: > Here're two answers: > 1. Have there ever been a Free Pascal implementation of OpenGL? I would > like to learn OpenGL and was wondering if I will be forced to use C++/C or > if there are other options. > http://wik

Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Dmitry Boyarintsev
A multilingual IDE http://forum.lazarus.freepascal.org/index.php/topic,22236.0.html FPC/Lazarus based, though it doesn't specifically target pascal development, though. thanks, Dmitry On Fri, Mar 14, 2014 at 3:10 PM, silvioprog wrote: > > Sorry for my ignorance, but, what is XeroCoder? > > --

Re: [Lazarus] Suggestion for IDE

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 1:58 PM, Michael Van Canneyt wrote: > On Fri, 14 Mar 2014, Maciej Izak wrote: > > I want to start FreePascal/Lazarus foundation named FreeSparta, which >> will be possible to sponsor new open source libraries >> (gestures, live bindings / data binding, more Delphi compati

Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 9:14 AM, Reinier Olislagers < reinierolislag...@gmail.com> wrote: > > Be my guest ;) > > Here you go: http://postimg.org/image/5z642myqh/ Antonio, hope that helps -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org h

Re: [Lazarus] Lazarus Wiki

2014-03-14 Thread Dmitry Boyarintsev
On Fri, Mar 14, 2014 at 8:26 AM, Reinier Olislagers < reinierolislag...@gmail.com> wrote: > > Have you seen my answer to your original post? Reading is outdated. Just do screenshots or publish a tutorial video on Youtube :) thanks, Dmitry -- ___ Lazar

Re: [Lazarus] Downloading Lazarus 1.0.14

2013-12-30 Thread Dmitry Boyarintsev
should sudo open filename.dmg help? thanks, Dmitry On Sun, Dec 29, 2013 at 5:48 PM, Tom Backer Johnsen wrote: > Gentlepersons > > I have Mac, recently upgraded to and now running OS X 10.9.1. I have > repeatedly tried to download the latest version of Lazarus, version 1.0.14. > I get the .dmg

Re: [Lazarus] The future of desktop

2013-12-02 Thread Dmitry Boyarintsev
We need a desktop development history page on the wiki. It is not FPC or Lazarus related, but something that's interesting to read for a developer :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mail

Re: [Lazarus] The future of desktop

2013-11-30 Thread Dmitry Boyarintsev
On Fri, Nov 29, 2013 at 4:52 AM, Michael Schnell wrote: > On 11/28/2013 05:39 PM, Dmitry Boyarintsev wrote: > >> Even if LCL will start "web target" today, it will be 10 years later that >> LCL can be used without problems. >> > You don't seem

Re: [Lazarus] The future of desktop

2013-11-28 Thread Dmitry Boyarintsev
On Thu, Nov 28, 2013 at 4:29 PM, Santi wrote: > > Is LCL the only "native controls" cross-platform framework left? > > Everyone else are now "custom drawn" (Qt and Gnome) or not cross > > platform at all. > I don't want to use Lazarus because it is the last defender of "Native > controls" against

Re: [Lazarus] The future of desktop

2013-11-28 Thread Dmitry Boyarintsev
On Thu, Nov 28, 2013 at 12:16 PM, Andrew Brunner wrote: > That's over-simplifying the landscape. There is so much tweaking that has > to happen to make apps have a similar "look and feel" across all HTML > devices. Spacial adaptations need to be considered as well. > Is it over-simplification?

Re: [Lazarus] The future of desktop

2013-11-28 Thread Dmitry Boyarintsev
* I agree on "simplification" but not "over" On Thu, Nov 28, 2013 at 12:31 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > On Thu, Nov 28, 2013 at 12:16 PM, Andrew Brunner wrote: > >> That's over-simplifying the landscape. There is so

Re: [Lazarus] The future of desktop

2013-11-28 Thread Dmitry Boyarintsev
The sad thing about HTML that it is destroying itself. A web-framework consists of probably 4 tags: (everything is a div) (just for browser look) (and yes, every other control is just a div, rather than an input) is to be replace by Forms are being used just as an ad-hoc data sending mechanism

Re: [Lazarus] The future of desktop

2013-11-28 Thread Dmitry Boyarintsev
On Thu, Nov 28, 2013 at 8:18 AM, Santiago A. wrote: > Here is an example: A friend of mine works for a company that has been > hired by a bank to rebuild the workstation software. Now client are > running on XP and the software is written in .NET (and VB4!!!). The are > moving to client softwar

Re: [Lazarus] Help: OS X Problems

2013-11-02 Thread Dmitry Boyarintsev
My other recommendation would be: * create a bug report to adapt the new debugger * don't rely or a debugger being available at all - use logs for debugging. thanks, Dmitry On Sat, Nov 2, 2013 at 9:58 PM, Martin wrote: > On 03/11/2013 01:45, Dmitry Boyarintsev wrote: > > >

Re: [Lazarus] Help: OS X Problems

2013-11-02 Thread Dmitry Boyarintsev
On Sat, Nov 2, 2013 at 9:12 PM, Anthony Walter wrote: > Basically what the video shows is me going through the options screens > showing the settings. I am using ggdb, which is the macports version of gdb > (Xcode no longer comes with gdb). > Was there another thread on this mail list showing how

Re: [Lazarus] Help: OS X Problems

2013-11-01 Thread Dmitry Boyarintsev
On Fri, Nov 1, 2013 at 1:48 PM, Anthony Walter wrote: > As soon as I add the "gdb" debugger and set the host application to > "/path/to/my/myprogram.app/Contents/MacOS/myprogram", running the app > behaves exactly like I described when run from a terminal like > "./myprgram". That is, the entire

Re: [Lazarus] Help: OS X Problems

2013-10-31 Thread Dmitry Boyarintsev
Anthony, have you had these kind of issues before with LCL applications? So far, I'm still sure that the problem is with launching the app from the bundle or not. did you try to open the bundle of the application, rather than the application itself? cd "/Users/macuser/Development/Projects/hello"

Re: [Lazarus] Graeme would love this, or not, I think

2013-10-14 Thread Dmitry Boyarintsev
On Mon, Oct 14, 2013 at 2:27 PM, Marco van de Voort wrote: > > Because you first need to teach people dos (and 8.3), console cmdline and > general concepts (stdin/stdout, working dir etc) > > with proper configuration (by system administrator) the tp would be just start and use (at least it was so

Re: [Lazarus] Graeme would love this, or not, I think

2013-10-13 Thread Dmitry Boyarintsev
"historical" section. On Sun, Oct 13, 2013 at 5:14 PM, Dmitry Boyarintsev < skalogryz.li...@gmail.com> wrote: > > On Sun, Oct 13, 2013 at 3:14 PM, Marco van de Voort wrote: >> >> Anyway, the whole post was meant more or less as an argument that a good >> edu

Re: [Lazarus] Graeme would love this, or not, I think

2013-10-13 Thread Dmitry Boyarintsev
On Sun, Oct 13, 2013 at 3:14 PM, Marco van de Voort wrote: > > Anyway, the whole post was meant more or less as an argument that a good > educational tool should 1) be quick to start using (so not TP) 2) not > contain parts that are not part of the course and detract too much. > > How come TP (tur

Re: [Lazarus] Graeme would love this, or not, I think

2013-10-11 Thread Dmitry Boyarintsev
Nice! There was something similar 1-2 years ago in Great Britain, where education commission recognized pascal languages (Delphi) as the best for education. So the next generation of good developers will come from South Africa. The Department of Education will purchase Delphi and students (and gr

Re: [Lazarus] Lazarus debugger not working

2013-09-28 Thread Dmitry Boyarintsev
Make sure Xcode was installed with "command line tools", it might be off by default Also, try opening Terminal and running "wheteis gdb". It should give the full path On Saturday, September 28, 2013, Sven Barth wrote: > On 28.09.2013 21:22, MichaelaBarb wrote: > >> When trying to open the path,

Re: [Lazarus] Lazarus debugger not working (Mac OS - where to download gdb)

2013-09-28 Thread Dmitry Boyarintsev
MacOS or Mac OS X? For MacOSX It's supplied with Xcode - apple developer tools. Can be either downloaded from apple.com or comes with the OS installation DVD thanks, Dmitry On Sat, Sep 28, 2013 at 8:00 AM, Martin wrote: > On 28/09/2013 12:41, MichaelaBarb wrote: > >> "debugger invalid - the de

Re: [Lazarus] ListBox: BeginUpdate - EndUpdate

2013-09-08 Thread Dmitry Boyarintsev
ever existed? You're probably looking for ListBox1.Items.BeginUpdate; ... ListBox1.Items.EndUpdate; thanks, Dmitry 2013/9/8 Junior > ListBox1.BeginUpdade; > //... > ListBox1.EndUpdate; > --** > > No longer exists? > > -- > __**___

Re: [Lazarus] Lazarus scattered windows

2013-09-02 Thread Dmitry Boyarintsev
Try "Manual Docker" http://wiki.freepascal.org/index.php?title=Manual_Docker it does save, though there's not much save :) On Mon, Sep 2, 2013 at 8:27 AM, Xiangrong Fang wrote: > 2013/9/2 Mattias Gaertner > >> >> >> > Xiangrong Fang hat am 2. September 2013 um 12:08 >> > geschrieben: >> > >>

[Lazarus] ANN: messages window manual docker update

2013-08-25 Thread Dmitry Boyarintsev
Hello, If there's anyone using "manual docker" (for messages window). The updated version of the package is now available. The list of updates can be found here: http://wiki.freepascal.org/Manual_Docker#Change_Log thanks, Dmitry -- ___ Lazarus mailing

Re: [Lazarus] Initial value for procedure of object

2013-01-21 Thread dmitry boyarintsev
Every field is set to nil or 0 at the time of object construction. You don't have to set it to nil explicitly. thanks, Dmitry On Mon, Jan 21, 2013 at 9:54 PM, xrfang wrote: > Hi, > > If I define a class like this: > > TMyClass = class(TWinControl) > private > FOnClick: TNotifyEvent; > ..

Re: [Lazarus] ListView problems

2012-02-11 Thread dmitry boyarintsev
Zeljan, I'm reassigning the item to you. thanks, Dmitry On Fri, Feb 10, 2012 at 3:16 PM, Hans-Peter Diettrich wrote: > zeljko schrieb: > > >> Before any extending of example, open new issue and attach example which >> crashes (and explanation how to reproduce please). > > > After a look at your

Re: [Lazarus] Poor man's resource code available and CheckRide update: now with editor

2012-02-05 Thread dmitry boyarintsev
On Mon, Jan 30, 2012 at 3:09 AM, Reinier Olislagers wrote: > Thanks to UPayload (http://www.delphidabbler.com/articles?article=7) and > some help on the forum, I could implement an alternative way of storing > files in an executable file (basically it just appends them with a footer). >From my ex

Re: [Lazarus] Are private data not allowed? Why?

2011-11-12 Thread dmitry boyarintsev
You probably need to switch Delphi Sytanx mode. Otherwise you've two different entities in the same scope with the same name, And that causes the conflict. But it's a good practice to name parameters different from the fields' names. thanks, Dmitry On Sat, Nov 12, 2011 at 7:46 PM, Massimo Soricet

Re: [Lazarus] Support for dotted unit name

2011-11-05 Thread dmitry boyarintsev
Hello, I'm wondering if for the sake of backward compatibility people will start to ask (Embarcadero) to map dotted names to a single name (i.e. Rtl.SysUtils -> sysutils). thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] DebugLn vs writeln

2011-10-03 Thread dmitry boyarintsev
On Tue, Oct 4, 2011 at 12:41 AM, Vincent Snijders wrote: > A writeln would crash a windows GUI application, that is the reason Unless you link them without "win32 gui application" flag. WriteLn has irreplaceable functionality of accepting any number of parameters, and most of the types, not supp

Re: [Lazarus] New FPC target: JVM (fwd)

2011-08-21 Thread dmitry boyarintsev
How to work with it from Lazarus: http://wiki.freepascal.org/Lazarus_JVM . It's still quite rough right now, though. thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/laz

Re: [Lazarus] TListView review required

2011-05-18 Thread dmitry boyarintsev
Hello, First of all i appologize for being out-of-community and answering this laet. my primary job is keeping me busy. But anyway. There's only one real solution - make a stand-alone control. And make it "non-owned" data (without any options), as it should be. Using System themes can make it loo

Re: [Lazarus] LazReport can work on Mac OS X?

2011-02-25 Thread dmitry boyarintsev
2011/2/24 Liyuan García Caballero : > Both i386 and PPC? Yes. At least on i386 -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Object Inspector odd behavior (ComboBox issue)

2011-02-14 Thread dmitry boyarintsev
> Related to TComboBox, the behavior on carbon (not sure about other platforms) > is not consistent. > If it's a read-only list, single-clicking on an item in the drop-down list > selects it and the list goes > back up. If it's not read-only, you must double-click on a list item to make > the li

Re: [Lazarus] A change in LCL require your TCustomForm descendants to have a resource or to use a CreateNew constructor

2011-02-01 Thread dmitry boyarintsev
Nice. Is it in the wiki? thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Generalized DragDrop

2011-01-22 Thread dmitry boyarintsev
On Sat, Jan 22, 2011 at 10:04 AM, Michael Van Canneyt wrote: > On Windows, the intra-app drag/drop is handled using OLE/DDE. On Linux, > there is no such thing, and I think it depends on the used desktop software > (KDE vs Gnome). > I don't know how it is done in Mac. In Carbon it's based on even

Re: [Lazarus] Where is a list of valid options for lazarus make?

2011-01-19 Thread dmitry boyarintsev
subj http://wiki.lazarus.freepascal.org/Getting_Lazarus#Make_targets I've started the description of the list some time ago. Feel free to fulfill it. thanks, Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.f

Re: [Lazarus] Forum under attack

2011-01-11 Thread dmitry boyarintsev
Should animated graphics (gifs, pngs?) be used as captchas? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Help with lazarus on Mac

2010-12-30 Thread dmitry boyarintsev
On Thu, Dec 30, 2010 at 2:33 PM, Darius Blaszyk wrote: >> "ld: warning: unknown stabs type 0xC0 in >> ../units/i386-darwin/outputfilter.o" > Understood, but what does this mean? Just for my curiosity. Apple's linker doesn't support some GNU linker STABS symbols. If you want to try Cocoa widgetse

Re: [Lazarus] Help with lazarus on Mac

2010-12-30 Thread dmitry boyarintsev
On Thu, Dec 30, 2010 at 8:13 AM, Darius Blaszyk wrote: > I'm trying to get Lazarus working on a mac mini. What I did is the following; > > 1. installed xcode_3.2.5_and_ios_sdk_4.2_final.dmg > 2. installed fpc-2.4.2.intel-macosx.dmg > 3. got lazarus from SVN and did a make clean all you're missing

Re: [Lazarus] Carbon vs Cocoa

2010-12-23 Thread dmitry boyarintsev
Hello Graeme, Cocoa is your choice. Apple suggests to use Cocoa for all new development and fpGUI for OSX is the one. Cocoa is supported natively by FPC trunk, so you shouldn't have much troubles using it. All-in-all both Carbon and Cocoa are using the same low-level framework. In some cases they

Re: [Lazarus] Docked IDE wndows are not dockable, because...

2010-12-21 Thread dmitry boyarintsev
On Tue, Dec 21, 2010 at 6:28 PM, Eugen Bolz wrote: > On Mac, EasyDockMgr don't works (can't drag and drop windows, but it can be > compiledyay...) > > PS: I don't even know if it worked earlier on Mac It's never been working on Mac. Some parts of WinAPI/LCLIntf remain unimplemented on Carbon.

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-24 Thread dmitry boyarintsev
On Wed, Nov 24, 2010 at 3:55 AM, Fred Flinestone wrote: > I use only default TPrinter. How about an example? -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-23 Thread dmitry boyarintsev
On Tue, Nov 23, 2010 at 4:32 AM, Fred Flinestone wrote: > Any idea, what can I check? Also, you need to check how you're handling Context translation, if you're using Carbon API (CGContext) for printing. If you're not, then you'd better to refer to the known bugs of the library you're using. tha

Re: [Lazarus] Carbon: Print out is mirrored

2010-11-23 Thread dmitry boyarintsev
On Tue, Nov 23, 2010 at 4:32 AM, Fred Flinestone wrote: > When I print out over my printing module on Carbon then after second > page it starts to print out mirrored where left is with right > exchanged. This continues until I restart program. Linux doesn't have > any problem. Is it reproducible

Re: [Lazarus] VirtualTreeView on Mac

2010-11-10 Thread dmitry boyarintsev
On Wed, Nov 10, 2010 at 12:40 AM, Eugen Bolz wrote: > It seems that everything is painted in Paint; , it didn't helped to > Invalidate it from Outside nor to Invalidate on LMPAINT - Message > > Any other Suggestions? :( Could you check mantis for the bug report? If i remember correctly, there's a

Re: [Lazarus] VirtualTreeView on Mac

2010-11-09 Thread dmitry boyarintsev
On Tue, Nov 9, 2010 at 4:25 PM, Eugen Bolz wrote: > I tried it myself, but the TreeView is just empty, even if I add some Nodes, > nothing is gonna painted on it Try invalidate the tree. I'm not sure about the TreeView implementation details, but drawing on a control canvas is allowed only inside

Re: [Lazarus] HotKey with Carbon

2010-11-06 Thread dmitry boyarintsev
On Sat, Nov 6, 2010 at 5:00 PM, Eugen Bolz wrote: > Using -Sa and deleted the Assert-function and This is FPC feature, rather than Lazarus or Carbon specific issue. With -Sa switch you can be sure that Assert() function code is compiled, otherwise the expression, given at Assert() function, might

Re: [Lazarus] HotKey with Carbon

2010-11-05 Thread dmitry boyarintsev
Here you go! uses Classes, SysUtils, FileUtil, Forms, Controls, Graphics, Dialogs, StdCtrls, MacOSAll, LCLType, CarbonUtils, CarbonDef, CarbonProc; type { TForm1 } TForm1 = class(TForm) Button1: TButton; Button2: TButton; procedure Button1Click(Sender: TObject); procedur

Re: [Lazarus] HotKey with Carbon

2010-11-04 Thread dmitry boyarintsev
I think you need to create UPP handler first, instead of passing the function pointer to the InstallApplicationEventHandler() thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/lis

Re: [Lazarus] RichMemo in shared SO library

2010-09-22 Thread dmitry boyarintsev
On Wed, Sep 22, 2010 at 12:34 PM, Dibo wrote: > I have no problem with LCL and Richmemo in DLL, but on linux I can't > build SO library with TRichMemo. I get this error: > > /usr/bin/ld: > /home/dibo/Programowanie/Lazarus/components/richmemo/lib/x86_64-linux/richmemo.o: > relocation R_X86_64_32S

Re: [Lazarus] Key codes

2010-09-09 Thread dmitry boyarintsev
On Thu, Sep 9, 2010 at 9:47 PM, Marc Weustink wrote: > Except if you don't have the LCLType unit in your uses clause yet ;) Yeah! good point :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman

Re: [Lazarus] Key codes

2010-09-09 Thread dmitry boyarintsev
2010/9/9 Alexander du Plessis : > Where do I find the VK_ keycode constant definitions that could be used in > KeyDown events? LCLType unit. You could found in your self. Type any VK_ constant, i.e. VK_UP. Right click on the VK_UP and select Find Declaration in the context menu. This will bring y

Re: [Lazarus] RichMemo 1.0.0 is broken. "Error moving component" error when creating component at design time.

2010-09-04 Thread dmitry boyarintsev
On Sat, Sep 4, 2010 at 5:26 PM, Peter E Williams wrote: > Okay... I tried that version and it did not even compile. I have made > all the changes necessary to make it compile and it is not much of an > improvement. I have made my version (not working) available here: > > https://sites.google.com/s

Re: [Lazarus] How can I increment/decrement a alphanumeric value?

2010-08-19 Thread dmitry boyarintsev
On Thu, Aug 19, 2010 at 7:36 PM, silvioprog wrote: >  E.g: > > 001 > 002 > .. > 00A > 00B > .. > 0A0 > 0A1 > .. > ZZZ > > Is there a native routine in Free Pascal to do that? Feels like a college task. There's no such routine. You can write a routine that converts alphanumeric number to integer a

Re: [Lazarus] Test

2010-08-16 Thread dmitry boyarintsev
Please, ignore. Dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread dmitry boyarintsev
2010/7/29 Juha Manninen : > I personally managed to install it. Lucky me :-) Glad to hear, that everything works as expected. Btw, is your project close sourced? You also need let Andrew Brunner know what OSX version your friend using. If Andrew's OSX is 10.6, and your friend's is 10.5, the proj

Re: [Lazarus] Installing lazarus on Windows, horror story goes on

2010-07-29 Thread dmitry boyarintsev
2010/7/29 Juha Manninen : > ... I thought it must be an easy task and we are done quickly. I was wrong > again!... > ... Then we both were so pissed off that we closed the Skype session. F**k!... > ... My friend installed it but the UI is so weird that he couldn't use it. ... > ... Why this Lazaru

Re: [Lazarus] Handheld development

2010-07-28 Thread dmitry boyarintsev
On Wed, Jul 28, 2010 at 6:30 AM, Bee Jay wrote: > May we know which fpc-made app that already went on Apple appstore? I think > it could become a good material to promote FPC/Lazarus. TIA. Don't forget that newer SDK agreement forbids applications written in not C/C++/ObjC language. It would be

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-27 Thread dmitry boyarintsev
One more note about Installation: Did you use the page http://wiki.freepascal.org/Installing_Lazarus_on_MacOS_X ? I've also managed to install iDeneb 1.6 on the VirtualBox (3.1.6 and 3.2.6). Installing FPC/Lazarus in the virtualized OSX didn't make any problems. The thread http://www.insanelymac.c

Re: [Lazarus] Lazarus installation on Mac plus other thoughts

2010-07-27 Thread dmitry boyarintsev
So far, i'm not aware of anyone ever made cross-compiler for OSX. However, since all build-tools are open source, it should be possible. On Tue, Jul 27, 2010 at 6:13 PM, Marcos Douglas wrote: >> Me and Marcos Douglas have recently improved the installation wiki pages a >> little but that is not e

Re: [Lazarus] Close button bkClose as "X"

2010-07-25 Thread dmitry boyarintsev
On Mon, Jul 26, 2010 at 3:08 AM, José Mejuto wrote: > In a recent change (#26529) Dmitry changes the code in themes.pas to > get a "stock icon" for close kind (a "X") which affects to TBitButton. > Is this change intented ? The change of TBitBtn is unintentional, it's just a side effect of theme'

Re: [Lazarus] LazIntfImage and OSX

2010-07-24 Thread dmitry boyarintsev
On Sat, Jul 24, 2010 at 6:59 PM, Wolfram Söns wrote: > now it works! Thanks a lot. Sie sind herzlich eingeladen! if you find more bugs with Carbon graphics, please report them to bugs.freepascal.org, otherwise they might be forgotten. But still feel free to discuss them on the mailing list. tha

Re: [Lazarus] LazIntfImage and OSX

2010-07-23 Thread dmitry boyarintsev
2010/7/5 Wolfram Söns : > I cant see any rule in results like this here: > Pixel (0,215): 65,43,20 (Mac), 88,57,21 (Windows) > Pixel (1,215): 53,38,26 (Mac), 73,50,31 (Windows) > Pixel (2,215): 50,38,21 (Mac), 69,50,21 (Windows) > and so on. Please test 26791 Lazarus revision. thanks, dmitry --

Re: [Lazarus] Creating a directory in the home directory

2010-07-21 Thread dmitry boyarintsev
On Wed, Jul 21, 2010 at 8:20 PM, Dave Coventry wrote: > I couldn't really say, to be honest. > > But that piece of code was working a year or so ago... I'm not sure. As far as I know "~" is actually shell specific symbol. i.e. try to compile the following code: begin if ParamCount>0 then writ

Re: [Lazarus] Creating a directory in the home directory

2010-07-21 Thread dmitry boyarintsev
On Wed, Jul 21, 2010 at 7:30 PM, Dave Coventry wrote: > Ah thanks. > > (it used to work, tough) really? what version? thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/

Re: [Lazarus] Creating a directory in the home directory

2010-07-21 Thread dmitry boyarintsev
On Wed, Jul 21, 2010 at 7:05 PM, Dave Coventry wrote: > What am I doing wrong? LCL doesn't resolve "~" symbol, use GetUserDir function (SysUtils) thanks, dmitry -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.free

Re: [Lazarus] tail on windows

2010-07-19 Thread dmitry boyarintsev
On Mon, Jul 19, 2010 at 10:09 PM, Mattias Gaertner wrote: > Can you create a new patch? Here you go. Has just tested it on Vista64. Index: lclproc.pas === --- lclproc.pas (revision 26738) +++ lclproc.pas (working copy) @@ -2051,13 +

Re: [Lazarus] tail on windows

2010-07-19 Thread dmitry boyarintsev
On Mon, Jul 19, 2010 at 11:17 AM, Hans-Peter Diettrich wrote: > Did you try to stop at this point, or even before WriteLn, and check > whether the file is accessible from other applications? Yes. I did. On Mon, Jul 19, 2010 at 11:17 AM, Hans-Peter Diettrich wrote: > You mean that the Append is t

<    1   2   3   4   >