Search found 151 matches

by plantenkennis
Tue Sep 11, 2018 7:56 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: reading available fonts on system
Replies: 13
Views: 3225

Re: reading available fonts on system

Hello Antonio, Thank you very much for this implementation, it looks very nice and easy to use. But what I mean is a function that only puts the names of the fonts in an array. Than I can use that array in a COMBOBOX and use the name of the font in a print routine. Simular as in Word where the user ...
by plantenkennis
Sat Sep 08, 2018 7:49 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: reading available fonts on system
Replies: 13
Views: 3225

reading available fonts on system

Hello,

Is it possible to check what fonts are available on a system. I want to put all fonts in an array, so the user can choose which font to use for printing some data.
I am looking for some function like "aFonts := ReadFonts()"
by plantenkennis
Thu Jul 05, 2018 6:29 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Mauel,

Thank you, this works perfect as far as I can see now.
by plantenkennis
Tue Jul 03, 2018 8:52 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Antonio and Manuel, I have addapted the function for the numeric input in a get. Now it works pretty good. One can put only numeric values into get and a point if specified. Also one can go back with the arrow-left and put alphanumeric values wich are not excepted. For my use it is enough, hop...
by plantenkennis
Fri Jun 29, 2018 4:24 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Antonio, Thank you, In my opinion FiveMac is a very good tool to build apps with. Specialy because one can use a lot of code used with FiveWin. :D The example I posted is not completely working correct. :( When a user puts in some digits and than move back with the left arrow, he can put in al...
by plantenkennis
Fri Jun 29, 2018 8:35 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Manuel, I have changed the code a bit and now it looks like it is working correct. You can use the backspace, arrows left and right and enter key. Can you please revice this if it is helpfull. #include "FiveMac.ch" function Main()    local oDlg,oGet1    local cNumText := ""...
by plantenkennis
Thu Jun 28, 2018 6:13 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Manuel, I have done some more testing, and with a function I think we can make this work. For now I will post the function for as far as I am, but I think I can make the function more functional with SetPos and GetPos Methods. I will work on this tomorrow and let you know the result. #include ...
by plantenkennis
Thu Jun 28, 2018 5:36 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Manuel, I have made a little sample for a workaround with Numeric Gets. It is not so beautiful, but effective at this moment. See code: #include "FiveMac.ch" function Main()    local oDlg, oGet1    local cText1 := ""          DEFINE DIALOG oDlg TITLE "TestGetNum" ...
by plantenkennis
Wed Jun 27, 2018 5:28 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

Re: several questions about GET class

Hello Manuel, Thanks for the information. I hope you can solve this. Maybe we/you can create a diffent GET class for numeric input like GETNUM? I think it is importent to have a class that accepts numeric input. The bKeydown METHOD works perfect. I looked into SOURCES and found METHOD KeyDown, but n...
by plantenkennis
Wed Jun 27, 2018 5:05 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: resizing window and image control
Replies: 2
Views: 1745

Re: resizing window and image control

Hello Manuel,

Thanks for these new libs, the resizing is working OK now.
by plantenkennis
Fri Jun 22, 2018 9:16 am
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: several questions about GET class
Replies: 14
Views: 5431

several questions about GET class

I have a few questions about the GET class. How do I set the numeric format Can I detect if the ENTER key is pressed in a GET, so I can perform an action on this How do I detect a change of GET, like every key-stroke and perform an action. I have a window with several GETs but don't get the desired ...
by plantenkennis
Sat Jun 16, 2018 5:48 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: resizing window and image control
Replies: 2
Views: 1745

resizing window and image control

Hello, I have a function that shows a bigger image in a window. With the older libs (date 23-03-2018) it worked fine when I use the next code: FUNCTION RK_FotoGroot(cFoto) *to show a big picture   LOCAL oWndFoto, oBtnZoom LOCAL oFoto LOCAL nWidth := 0 LOCAL nHeight := 0 LOCAL nFotoWidth LOCAL nFotoH...
by plantenkennis
Tue Jun 12, 2018 8:26 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: right mouseclick
Replies: 16
Views: 4727

Re: right mouseclick

Hello Manuel, Sorry, already found the solution: @ nScreenHeight-60, nRowPaint BTNBMP oBtnSelectie OF oWndMain FILENAME cResFilesPad+'FilterRechts.png' ;     ACTION (nBrowseOrder := 4, RK_SetBrowseArray(2)) SIZE 35, 35 STYLE 4 TOOLTIP 'Toon laatste selectie nogmaals'     oBtnSelectie:bAction := {|| ...
by plantenkennis
Tue Jun 12, 2018 8:02 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: right mouseclick
Replies: 16
Views: 4727

Re: right mouseclick

Hello Manuel, Thank you very much for the new libs :D The popup menu does exactly what I wants. Also the WindowVisibleHeigth function is very good. Now the outline of all controls are perfect on all screens. I also checked the Enable() and DisAble() for BtnBmp. When I use it in the same function as ...
by plantenkennis
Mon Jun 11, 2018 5:48 pm
Forum: FiveMac / FivePhone (iPhone, iPad)
Topic: right mouseclick
Replies: 16
Views: 4727

Re: right mouseclick

Hello Manuel,

I think your suggestion would serve well. That way we know on what nBrwrow the user clicks and we can perform an action on that row. I suppose we can send the nBrwrow and nBrwcol to the Showpop function?