Posted: Mon Jun 11, 2007 10:49 am
Update
Changes :
- fixed two issues posted by Molchyn and linkerstorm
Changes :
- fixed two issues posted by Molchyn and linkerstorm
http://www.purebasic.com
https://www.purebasic.fr/english/
Code: Select all
;{ Gadgets
Enumeration
#ButtonImage_0
#ButtonImage_1
#ButtonImage_2
#ButtonImage_3
#Image_4
#Image_5
#Image_6
#Image_7
#Image_8
EndEnumeration
;}
;{ Images
Enumeration
#Image_ButtonImage_0
#Image_ButtonImage_0??????????????
#Image_ButtonImage_0??????????????
#Image_ButtonImage_0??????????????
#Image_Image_4
#Image_Image_4??????????????
#Image_Image_4??????????????
#Image_Image_4??????????????
#Image_Image_4??????????????
EndEnumeration
;}
;{ Included Images
DataSection ;>
Image_ButtonImage_0:
IncludeBinary "C:\ico\1 - Home_32x32.jpg"
Image_ButtonImage_0:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_ButtonImage_0:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_ButtonImage_0:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_Image_4:
IncludeBinary "C:\ico\1 - Home_32x32.jpg"
Image_Image_4:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_Image_4:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_Image_4:??????????????
IncludeBinary "C:\ico\internet.jpg"
Image_Image_4:??????????????
IncludeBinary "C:\ico\internet.jpg"
EndDataSection ;<
;}
I never thought about images when I added the clone feature ! I only tested this feature with gadgets like buttons or optiongadgets.Molchyn wrote:gnozal
sorry same effect:
1 create ButtonImage - insert picture - clone 3 times - change pics on clones
2 create Image - insert picture - clone 4 times- change pics on clones
it's generate code like this
You mean you choose 5 as distance in cloning options and the distance isn't 5 ?Molchyn wrote:gnozal
Thanks it's work
but sometime when you just start PF and use default distance 5 pix it's can produce different distance not a 5 pix(looks like a some correlation between size of botton or pic)
Code: Select all
If CloningDirection ; HORIZONTAL
CopiedGadget\GadgetCoordX + CopiedGadget\GadgetCoordWidth + CloneDistance
Else ; VERTICAL
CopiedGadget\GadgetCoordY + CopiedGadget\GadgetCoordHeight + CloneDistance
EndIf
I am always try to explain on ez way(english not my native language), but this one difficult to explaine...And it seems to work here : I have compared buttons, imagebuttons and images, the results are the same.
Thanksakee wrote:I have been working with PureForm for about 3 days now and I find it easy to use and is pretty cool when designing code... Thumbs up gnozal.
There is an 'Undo' feature, it has to be activated in the preferences ('Enable undo'). When activated, select Edit->Undo in main menu or CTRL+Z.akee wrote:Is there a Undo, Redo feature
Right-click on a gadget, in context menu select item 'Tab order'.akee wrote:and a way to re-sort the gadgets for the TabIndex?
Thanks for the report.milan1612 wrote:Hi gnozal,
PureFORM just crashed, see the image for details.