Search found 285 matches
- Tue Mar 26, 2024 8:25 pm
- Forum: Coding Questions
- Topic: ListIcons: color of selected row, can be set?
- Replies: 4
- Views: 239
Re: ListIcons: color of selected row, can be set?
Thank you all!!! Finally SetGadgetItemColor did the job simply Procedure highlight2() Define str.s Static xx.u str=":"+LCase(GetGadgetText(52)) SetGadgetItemColor(102,xx-1,#PB_Gadget_BackColor,$ffffff) ; reset color For i=1 To CountGadgetItems(102) ; Debug i If FindString(GetGadgetItemText...
- Tue Mar 26, 2024 11:03 am
- Forum: Coding Questions
- Topic: ListIcons: color of selected row, can be set?
- Replies: 4
- Views: 239
ListIcons: color of selected row, can be set?
Hello:
can the color of the selected row of a listicons (by SetGadgetState(), not by mouse) be set other than the default one?
The color is too fade
using W10, PB6.10b2
Thanks
can the color of the selected row of a listicons (by SetGadgetState(), not by mouse) be set other than the default one?
The color is too fade
using W10, PB6.10b2
Thanks
- Sat Mar 16, 2024 11:30 am
- Forum: Coding Questions
- Topic: FindMapElement() need a simple pointer example
- Replies: 6
- Views: 274
Re: FindMapElement() need a simple pointer example
Thank you Infratec
- Sat Mar 16, 2024 10:41 am
- Forum: Coding Questions
- Topic: FindMapElement() need a simple pointer example
- Replies: 6
- Views: 274
Re: FindMapElement() need a simple pointer example
where the type .string is documented?
- Tue Feb 20, 2024 8:17 am
- Forum: Coding Questions
- Topic: ListiconGadget with icon in any column
- Replies: 7
- Views: 265
Re: ListiconGadget with icon in any column
This code comes from RASHAD, you can put images in any cell. HTH Global HitInfo.LVHITTESTINFO , ii.lv_item ii\mask = #LVIF_IMAGE Procedure SetItemState(Row,Col,Img) ii\iItem = Row ii\iSubItem = Col ii\iImage = Img SendMessage_(GadgetID(0), #LVM_SETITEM, 0, @ii) EndProcedure Procedure GetItemState(Ro...
- Fri Feb 16, 2024 8:48 pm
- Forum: Bugs - Windows
- Topic: PdfVectorOutput: issue with right to left languages
- Replies: 0
- Views: 208
PdfVectorOutput: issue with right to left languages
Hello: with right to left languages (arabic), pdfvectoroutput don't print words correctly, letters are always spread from left to right without being tied together as it must be. LoadFont(0, "Times New Roman", 20) If StartVectorDrawing(SvgVectorOutput(GetUserDirectory(#PB_Directory_Desktop...
- Wed Jan 31, 2024 7:53 am
- Forum: Coding Questions
- Topic: issues with svg & pdf vector drawing using x86-backend C
- Replies: 10
- Views: 1039
Re: issues with svg & pdf vector drawing using x86-backend C
Thanks for follow-up, that's what I got: eip:4253DA 2BE850044203008B mov eax, [eax] eax:0 ebx:3FA000 ecx:24F05D0 edx:0 ebp:19FE08 esi:0 edi:6D7420 Stack: 24F47F0 40 5 24F070E 23107F9 232C856 19FE28 426850 24F05D0 0 40829800 0 408A5000 2 19FF18 401179 24F05D0 0 40829800 0 408A5000 800 808 6C7980 19FE...
- Mon Jan 29, 2024 9:41 am
- Forum: Coding Questions
- Topic: issues with svg & pdf vector drawing using x86-backend C
- Replies: 10
- Views: 1039
Re: issues with svg & pdf vector drawing using x86-backend C
I'm using W10 which support arabic by default
I'm still wondering if using "console" as executable format is really an error, is it?, I'm not opening any window.
I'm still wondering if using "console" as executable format is really an error, is it?, I'm not opening any window.
- Sun Jan 28, 2024 10:01 pm
- Forum: Coding Questions
- Topic: issues with svg & pdf vector drawing using x86-backend C
- Replies: 10
- Views: 1039
Re: issues with svg & pdf vector drawing using x86-backend C
May be, it was an error from me
In fact, the executable format was "console", I got :
Now I changed it to "windows", and now it compiles well
Sorry for disturbing.
In fact, the executable format was "console", I got :
only with backend c-x86, all others modes work.Line6:- Invalid memory access, read error at address 0
Now I changed it to "windows", and now it compiles well
Sorry for disturbing.
- Sat Jan 20, 2024 9:56 pm
- Forum: Coding Questions
- Topic: is it possible to edit an existing pdf with PdfVectorOutput?
- Replies: 3
- Views: 370
Re: is it possible to edit an existing pdf with PdfVectorOutput?
you can do some editing with cpdf, which is free for personal use.
Have a look at:
https://www.purebasic.fr/english/viewtopic.php?t=79338
HTH
Have a look at:
https://www.purebasic.fr/english/viewtopic.php?t=79338
HTH
- Mon Jan 15, 2024 9:46 am
- Forum: Coding Questions
- Topic: issues with svg & pdf vector drawing using x86-backend C
- Replies: 10
- Views: 1039
issues with svg & pdf vector drawing using x86-backend C
under x86-backend C, the following snippet didn't compiles: LoadFont(0, "Times New Roman", 20) If StartVectorDrawing(SvgVectorOutput(GetUserDirectory(#PB_Directory_Desktop)+"test.svg", 595, 842)) VectorFont(FontID(0), 25) MovePathCursor(20, 20) DrawVectorText("Hello") S...
- Sun Jan 07, 2024 10:11 pm
- Forum: Coding Questions
- Topic: strange behaviour StatusBar on ListViewGadget
- Replies: 9
- Views: 752
Re: strange behaviour StatusBar on ListViewGadget
If OpenWindow(0,0,0,800,400,"", #PB_Window_ScreenCentered|#PB_Window_SystemMenu) ListIconGadget(0,0,0,800,380,"test",800) For i = 1 To 500 AddGadgetItem(0,-1, Str(i)) Next If CreateStatusBar(0, WindowID(0)) AddStatusBarField(110) EndIf StatusBarText(0, 0, "Statusbar") ...
- Wed Dec 20, 2023 9:50 pm
- Forum: Coding Questions
- Topic: bug or no bug?
- Replies: 3
- Views: 401
Re: bug or no bug?
Thanks guys!!
- Wed Dec 20, 2023 9:02 pm
- Forum: Coding Questions
- Topic: bug or no bug?
- Replies: 3
- Views: 401
bug or no bug?
Hello:
the following snippet didn't run when parentheses are used with StructureUnion, isn't strange?
the following snippet didn't run when parentheses are used with StructureUnion, isn't strange?
Code: Select all
Structure wrdbyte
StructureUnion
word.w
byte.b[2]
EndStructureUnion
EndStructure
Define xx.wrdbyte
xx\byte[0]+1 ; good
(xx\byte[0])+1 ; error
- Sat Dec 16, 2023 9:22 pm
- Forum: Coding Questions
- Topic: RunProgram: can't get all the list of errors
- Replies: 2
- Views: 268
Re: RunProgram: can't get all the list of errors
Works like a charm!!!!
Thank you very much
Thank you very much