Search found 21 matches

by Ktim07
Mon Jul 31, 2023 12:15 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: port PB GUI app to Android as .apk SaveFileRequester()


How many different questions do you want to include in this thread?
:? :? :? I see, I had thought following one thread is easier but now I see the problem. Because the original question was titled "SaveFileRequester()" which is always attached, but I guess now I have to change the strategy


PB ...
by Ktim07
Sun Jul 30, 2023 6:59 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

port PB GUI app to Android as .apk SaveFileRequester()

Hallo members,
Suppose you already developed a PB desktop application and you are looking for a quick easy way to have it on mobile devices as .apk file how is it possible to port the PB GUI app to Android
by Ktim07
Mon Jul 24, 2023 1:09 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: RGB Display from photo SaveFileRequester()

Hallo members, I have this code below, which is supposed to allow the user to in put a png or jpeg file, then divide it in grid boxes of about 10x10 px then check the px of each box , capture/eye drop/approximate the rgb value of each grid and then display the result of the photo replaced with ...
by Ktim07
Wed Jul 19, 2023 7:21 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()

you might want to take a look at STARGÅTE's TabBarGadget...
this looks great
by Ktim07
Wed Jul 19, 2023 2:55 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()

chi wrote: Tue Jul 18, 2023 11:26 pm Ha, how you like that?
O my Go :mrgreen: :mrgreen: :mrgreen: :mrgreen: d,this is the basic IDea that I envisioned, thanks ALOT
by Ktim07
Tue Jul 18, 2023 8:51 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: NewFileRequester()

Hallo members, lets say you have a panel with a canvas named new_0, how do yo edit the code such that whenever a user goes under File and clicks on New the automatically "new_1" with a canvas opens in the panel, and so on i.e if a user continues to click on New then tabs with canvas are opened in ...
by Ktim07
Tue Jul 11, 2023 4:28 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()

jassing wrote: Tue Jul 11, 2023 1:45 pm I don't think the webgadget is meant to be a full-featured web browser with javascript etc.
You could try the chromium or qt webgadget add-ons (search forums).
Quite an impressive tool, it works @ 100%.
A sneaky way to turn webpages/ html code to .exe file. I am impressed
by Ktim07
Tue Jul 11, 2023 11:40 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: html

I have opened it in there but the when it opens, the html doesn't work.
here is the html
<!DOCTYPE html>
<html>
<head>
<title>Search Example</title>
<style>
table, th, td {
border: 0px solid black;
border-collapse: collapse;
padding: 5px;
}

th {
background-color: #e6e6e6;
}

.adj ...
by Ktim07
Tue Jul 11, 2023 11:38 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()

Olli wrote: Tue Jul 11, 2023 10:58 am
I am not sure that I understand your explanation.
by Ktim07
Tue Jul 11, 2023 4:27 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

html

is there a way to edit the link in the code below, to instead open and read a html file eg one named, thanks.html
with in the compiled program.

EnableExplicit

Enumeration Window
#Window_0
EndEnumeration

Enumeration Gadgets
#WebView_1
EndEnumeration

Define iEvent.i

Declare Open_Window_0(X ...
by Ktim07
Tue Jul 11, 2023 4:19 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()

thanks @jassing & @infratec for the codes
by Ktim07
Mon Jul 10, 2023 3:13 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()


You can add a timer.
AddWindowTimer() .
First, you move the code you want to execute : Global cFile.s

Procedure SaveMyFile()
If cFile
CreateFile(0,cfile)
WriteString(0,GetGadgetText(#Editor_1))
CloseFile(0)
EndIf
EndProcedure Note that you get an address number of this code : Debug ...
by Ktim07
Mon Jul 10, 2023 9:26 am
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()



Case #PB_Event_Menu
Select EventMenu()
Case 1 ;Quit
End
Case 0 ;Save
Define cFile.s = SaveFileRequester("Save","sample.txt","Text File|*.txt",0)
If cFile
CreateFile(0,cfile)
WriteString(0,GetGadgetText(#Editor_1))
CloseFile(0)
EndIf

How this code edited, so that the program auto ...
by Ktim07
Sun Jul 09, 2023 8:43 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()


Try this:

EnableExplicit

Enumeration Window
#Window_0
EndEnumeration

Enumeration Menue
#MainMenu
EndEnumeration

Enumeration MenuItems
#MenuSave
#MenuQuit
EndEnumeration

Enumeration Gadgets
#Editor_1
EndEnumeration


Until Quit


Added also some small improvements.


Thanks alot, I ...
by Ktim07
Sun Jul 09, 2023 8:38 pm
Forum: Coding Questions
Topic: port PB GUI app to Android as .apk SaveFileRequester()
Replies: 27
Views: 5045

Re: SaveFileRequester()



Case #PB_Event_Menu
Select EventMenu()
Case 1 ;Quit
End
Case 0 ;Save
Define cFile.s = SaveFileRequester("Save","sample.txt","Text File|*.txt",0)
If cFile
CreateFile(0,cfile)
WriteString(0,GetGadgetText(#Editor_1))
CloseFile(0)
EndIf

:D :D :D thanks