Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
KOL
»
KOL-MCK and ControlByName
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TDirectoryEdit with OnAft...
by
Bart
[
Today
at 04:46:47 pm]
Debian removes FPC/Lazaru...
by
valdir.marcos
[
Today
at 04:38:01 pm]
How many lines is too man...
by
valdir.marcos
[
Today
at 04:14:48 pm]
Front-end framework
by
valdir.marcos
[
Today
at 04:10:22 pm]
Status of LCL-fpGUI widge...
by
valdir.marcos
[
Today
at 04:04:53 pm]
Status of LCL's CustomDra...
by
zeljko
[
Today
at 03:59:56 pm]
Benchmark test in nanosec...
by
valdir.marcos
[
Today
at 03:27:08 pm]
Problem wih reference to ...
by
henrique
[
Today
at 02:39:50 pm]
uses unit decalration ord...
by
Martin_fr
[
Today
at 02:10:32 pm]
Update a table with an Au...
by
CraigC
[
Today
at 01:56:50 pm]
could Ardour's YTK be use...
by
robert rozee
[
Today
at 01:51:39 pm]
[SOLVED] File Format LAMW...
by
RaketeMike
[
Today
at 01:41:46 pm]
[ANN] PasBuild 1.5.0 rele...
by
cdbc
[
Today
at 05:10:09 am]
Commerce website written ...
by
valdir.marcos
[
Today
at 04:55:08 am]
New book on Object Pascal
by
valdir.marcos
[
Today
at 04:30:08 am]
How to execute a procedur...
by
Aruna
[
Today
at 03:34:41 am]
BGRAVirtualScreen - weird...
by
backprop
[
Today
at 03:33:51 am]
The "dockedformeditor" pa...
by
Gustavo 'Gus' Carreno
[
Today
at 02:44:31 am]
unit ProjectDescriptorTyp...
by
n7800
[
Today
at 02:01:39 am]
Canvas.StretchDraw, does ...
by
jamie
[March 06, 2026, 11:27:18 pm]
REST Server/Client, how t...
by
kveroneau
[March 06, 2026, 07:35:25 pm]
Variable initialization
by
LeP
[March 06, 2026, 06:58:53 pm]
[SOLVED] Problem to resto...
by
Hartmut
[March 06, 2026, 06:42:28 pm]
Text Fill (Memo)
by
Sc0li0sis
[March 06, 2026, 06:08:54 pm]
BGRA Controls license inf...
by
Zoran
[March 06, 2026, 05:48:27 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: KOL-MCK and ControlByName (Read 7310 times)
magi6162
New Member
Posts: 42
KOL-MCK and ControlByName
«
on:
December 28, 2009, 10:33:51 am »
Can not find the function form.ControlByName with KOL-MCK.
Can someone help me?
thanks
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
magi6162
New Member
Posts: 42
Re: KOL-MCK and ControlByName
«
Reply #1 on:
December 29, 2009, 10:27:03 am »
Problem
in LCL:
for i:=0 to count do
Self.ControlByName('v' + IntToStr(i)).Hint := 'AAAAA';
the same thing with KOL-CE for WinCE?
thanks for the help.
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
marcov
Administrator
Hero Member
Posts: 12706
FPC developer.
Re: KOL-MCK and ControlByName
«
Reply #2 on:
December 30, 2009, 08:42:30 pm »
I know nothing about KOL, but that code is not logical.
The loop iterates from 0 to count, iow count+1 items.
Logged
magi6162
New Member
Posts: 42
Re: KOL-MCK and ControlByName
«
Reply #3 on:
January 04, 2010, 10:38:10 am »
Sorry
for i:=0 to count do
begin
Self.ControlByName('v' + IntToStr(i)).Hint := 'AAAAA';
inc(i)
end
I had copied the rest
thanks
Logged
i use
Lazarus-0.9.28.2-0/fpc-2.2.4-091003-cross-arm-wince-win32.exe
on ubuntu 9.04 / windows XP
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
KOL
»
KOL-MCK and ControlByName
TinyPortal
© 2005-2018