Re: [Lazarus] how to opendialog PopupMode like form ?

2015-01-18 Thread Bart
On 1/18/15, Derit Agustin derit.agus...@gmail.com wrote:

 opendialog not slashing or blink on click form parent

AFAIK this is controlled by widgetset (on modern OS).

Bart

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] how to opendialog PopupMode like form ?

2015-01-18 Thread Derit Agustin
opendialog not slashing or blink on click form parent
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Extending the IDE to edit icons/images from inside Lazarus

2015-01-18 Thread Kostas Michalopoulos
Hi all,

I have made the following component: http://i.imgur.com/V7PRW4o.png

It provides an image editing dialog that i want to use in a few of my
programs. However i thought to also use it with Lazarus instead of (or in
addition to ) the Load image dialog that appears when you click on a
TPicture (or similar) property like the Glyph of a TSpeedButton, the icon
of a program, the image for a menu, etc so one can create an icon right
there instead of using an external program (the component also has two
buttons to load/save images if one wants to do that).

Does anyone have any pointers towards doing that? I suspect there aren't
any hooks for that (the easiest would probably be adding a button in the
Load image dialog, but i think that is an unnecessary extra click - click
on the property, click on the button, draw stuff, instead of click on the
property, draw stuff). Where in the code should i look at?

I haven't uploaded the component anywhere yet, i want to try and do that
first so that the design package is distributed with the normal component
package :-)

Thanks,
Kostas
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] PageControl tabs not showing

2015-01-18 Thread Werner Pamler
The are two postings in the forum in which tabs of a pagecontrol do not 
show up if a TsSpreadsheetGrid or a TlzRichEdit are placed on the 
preceding tab at design-time:
- forum.lazarus.freepascal.org/index.php/topic,27088.msg167251.html 
(TsSpreadsheetGrid)
- forum.lazarus.freepascal.org/index.php/topic,26834.msg166016.html 
(TlzRichEdit)


I can confirm this issue on Laz trunk / fpc 2.6.4 on Win, the OP use Laz 
1.2.6 on Win/Ubuntu: Create a new form with a pagecontrol containing 
three tabs. Add a TsWorksheetGrid (or TlzRichEdit) on the first tab. Run 
- there is only the first tab with the component added. Save and reload 
the project. Now again, there is only 1 tab also at designtime. Delete 
the WorksheetGrid/RichEdit, save and reload -- the three tabs are back.


If these controls are added at runtime, everything is ok.

Since other controls work fine on a PageControl these two components 
seem to miss something which prevents the other tabs to show up. Any 
idea what could be wrong?



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus