Search found 4 matches

by steelx7000
Sun Feb 28, 2016 10:08 am
Forum: The PureBasic Editor
Topic: How to use splitter
Replies: 1
Views: 2519

How to use splitter

I don't know how to use splitter in PB Form.... I wish it can like Visual basic that it can auto move like a magnet when dragging...
by steelx7000
Tue Jan 26, 2016 12:25 pm
Forum: The PureBasic Form Designer
Topic: PureBasic 5.41 Form Designer - multiple forms example wanted
Replies: 8
Views: 6659

Re: PureBasic 5.41 Form Designer - multiple forms example wa

@agb2008 this is my sample....
It use 3 files:
event.pb
Win1.pbf (Label : W1_Text1, Button: W1_btnOpen, W1_btnClose)
Win2.pbf(Label: Text_0 --> caption="This is window 2")


IncludeFile "Win1.pbf"
IncludeFile "Win2.pbf"

Declare W1_btnClose_Click()
Declare W1_btnOpen_Click()

OpenWin1 ...
by steelx7000
Thu Jan 21, 2016 2:42 pm
Forum: Coding Questions
Topic: Bugs on StringField (PB 5.40 LTS) (solved) --> my mistake
Replies: 4
Views: 1239

Re: Bugs on StringField (PB 5.40 LTS)

Hi,

wrote it on my own.

You simply not clear the variable hasilBaris in the outer loop.
So it grows the whole time.


hasilBaris = ""
For koma = 1 To CountKoma + 1

resolves your bug.

If not, see my post before.

Bernd
Thank you. Your code working.... just because hasilBaris = ""
Yesterday ...
by steelx7000
Wed Jan 20, 2016 4:26 pm
Forum: Coding Questions
Topic: Bugs on StringField (PB 5.40 LTS) (solved) --> my mistake
Replies: 4
Views: 1239

Bugs on StringField (PB 5.40 LTS) (solved) --> my mistake

I don't know can this consider as bug or not, but my code at 'hasilBaris' variable don't refresh in the next loop. Is the problem with the StringField ?
At addGadgetItem(barisFile) is okay in reading a List, but not for the result from StringField
My problem is that the value in ListIcon_0 from the ...