I didn't know it either. But it was quite easy to find out:
1.) Debug Lazarus IDE within another instance.
2.) In the IDE-to-debug create a project with TPageControl and 2 tabs.
3.) Set breakpoint to "TCustomTabControl.ShowCurrentPage" in the
debugger IDE.
4.) Change pages with the OI in the ID
On 21 May 2016 at 13:49, Richard Mace wrote:
> Would I call the List.sort externally, or would the List call sort when
> an Add has happened, as I don't seem to have a ".sort" method on my
> TObjectList?
>
You need to call List.Sort yourself, it is not sorted automatically when
you add more ele
That's something else. I need something that will be part of component.
Something like overriden SetFocus; or so.
So far I tried CMDesignHitTest and DoEnter but it didn't work.
It's like when you design Form with PageControl and two TabSheets. You select the second
TabSheet in OI and PageControl
On 21/05/16 18:48, Vojtěch Čihák wrote:
is there some event (message or method) triggered when component is selected in
OI?
It's just like PageControl and its TabSheets. When you select TabSheet in OI,
component
is repainted in form designer. I oberved the code but I didn't find solution.
TO
On 2016-05-21 18:45, Donald Ziesig wrote:
> Simply adding the line {$define
> UseCThreads} into the define.inc file caused the execution to succeed
> and play sounds.,
Well done Donald. Glad you got it sorted out. ;-)
Regards,
Graeme
--
___
Lazar
Hi,
is there some event (message or method) triggered when component is selected in
OI?
It's just like PageControl and its TabSheets. When you select TabSheet in OI,
component
is repainted in form designer. I oberved the code but I didn't find solution.
Thanks, V.
--
On 05/20/2016 06:04 PM, Donald Ziesig wrote:
Hi All!
I'm still trying to play audio on my Raspberry Pi B 2 using FPC 3.0
and Lazarus 1.7 using UOS.
After help from Graeme and Mattias, (many thanks) I was able to get
UOS to compile, but when I try to run the demo programs I get Runtime
Error
Hi Denis,
Thanks for your reply.
On 9 May 2016 at 13:24, Denis Kozlov wrote:
> On 9 May 2016 at 12:48, Richard Mace wrote:
>
>> I have a TObjectList that contains many objects that have a property
>> called "Position" which is an integer.
>>
>> Could somebody show me an example of the code tha