Search found 288 matches
- Tue Mar 26, 2024 8:25 pm
- Forum: Coding Questions
- Topic: ListIcons: color of selected row, can be set?
- Replies: 4
- Views: 196
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: 196
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: 254
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: 254
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: 256
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: 186
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: 1007
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: 1007
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: 1007
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: 362
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: 1007
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...
- Sat Jan 13, 2024 5:42 pm
- Forum: Bugs - Windows
- Topic: [Done] PdfVectorOutput doesn't support unicode
- Replies: 6
- Views: 894
Re: [Done] PdfVectorOutput doesn't support unicode
Printing unicode is OK but previous error subsists, also discovered new one: 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(&qu...
- Sun Jan 07, 2024 10:11 pm
- Forum: Coding Questions
- Topic: strange behaviour StatusBar on ListViewGadget
- Replies: 9
- Views: 741
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") ...
- Mon Jan 01, 2024 9:08 pm
- Forum: Bugs - Windows
- Topic: [Done] PdfVectorOutput doesn't support unicode
- Replies: 6
- Views: 894
Re: PdfVectorOutput doesn't support unicode
Surprisingly, I tried the following snippet (very close to yours): LoadFont(0, "Times New Roman", 20) If StartVectorDrawing(PdfVectorOutput(GetUserDirectory(#PB_Directory_Desktop)+"test.pdf", 595, 842)) VectorFont(FontID(0), 25) MovePathCursor(20, 20) DrawVectorText("مرحبا&q...
- Mon Jan 01, 2024 7:27 pm
- Forum: Bugs - Windows
- Topic: [Done] PdfVectorOutput doesn't support unicode
- Replies: 6
- Views: 894
[Done] PdfVectorOutput doesn't support unicode
Hello:
I noticed that PdfVectorOutput doesn't support unicode characters.
will this evolve in the future?
Best Regards
I noticed that PdfVectorOutput doesn't support unicode characters.
will this evolve in the future?
Best Regards