Jump to content

GUICtrlCreatePic


Stacker
 Share

Recommended Posts

Hi all

i need to create some picture (1000 plus) in GUI

i want to use variable like $n

do

$n=$n+1

Local $iPic & $n = GUICtrlCreatePic("", $x, $y, 50, 50)

until $n = 1000

but i receive this error

No variable given for "Dim", "Local", "Global", "Struct" or "Const" statement.

Please help me, thanks

Link to comment
Share on other sites

Use an array instead!

Global $aPic[1001], $x, $y

$aPic[0] = 1000

$n = 1
do

    $aPic[$n] = GUICtrlCreatePic("", $x, $y, 50, 50)
    $n = $n + 1

until $n = 1000

 

Please don't send me any personal message and ask for support! I will not reply!

Selection of finest graphical examples at Codepen.io

The own fart smells best!
Her 'sikim hıyar' diyene bir avuç tuz alıp koşma!
¯\_(ツ)_/¯  ٩(●̮̮̃•̃)۶ ٩(-̮̮̃-̃)۶ૐ

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...