Search found 27 matches

by johnnyutah
Sat Jan 28, 2006 6:21 pm
Forum: Coding Questions
Topic: Automatically input website user details
Replies: 1
Views: 880

Automatically input website user details

Hi I'm trying to download a particular web page using the code below but can't access it as a username and password are required. The code does download an HTML page but it's the login screen. Is there any way to pass a username and password to the website using code? Procedure.s OpenURL(Url.s, Open...
by johnnyutah
Sun Aug 21, 2005 2:23 am
Forum: Windows
Topic: Surpressing Horiz Scroll Bar
Replies: 3
Views: 1817

This is the code I use: If CountGadgetItems(#ListIconGadget) > 17 ; Resize columns to make them smaller so more space for vertical scrollbar. SendMessage_(GadgetID(#ListIconGadget), #LVM_SETCOLUMNWIDTH, 0, 90) SendMessage_(GadgetID(#ListIconGadget), #LVM_SETCOLUMNWIDTH, 1, 90) Else ; Column size if ...
by johnnyutah
Sat Aug 13, 2005 12:46 pm
Forum: Coding Questions
Topic: Printing in landscape using WebGadget
Replies: 3
Views: 1183

Procedure.s ReadRegKey(OpenKey.l, SubKey.s, ValueName.s) hKey.l = 0 KeyValue.s = Space(255) Datasize.l = 255 If RegOpenKeyEx_(OpenKey, SubKey, 0, #KEY_READ, @hKey) KeyValue = "Error Opening Key" Else If RegQueryValueEx_(hKey, ValueName, 0, 0, @KeyValue, @Datasize) KeyValue = "Error R...
by johnnyutah
Wed Aug 10, 2005 3:26 pm
Forum: Coding Questions
Topic: Printing in landscape using WebGadget
Replies: 3
Views: 1183

I didn't get a response to this question but I really need an answer. If anyone has any suggestions please let me know!
by johnnyutah
Mon Jul 04, 2005 6:53 pm
Forum: Coding Questions
Topic: Printing in landscape using WebGadget
Replies: 3
Views: 1183

Printing in landscape using WebGadget

Hi, I just can't find a way to automatically change the page aspect from portrait to landscape. According to Microsoft you can change the following in the registry: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings PageOrientation : REG_DWORD Specifies page orientation. V...
by johnnyutah
Sun Jul 03, 2005 4:19 pm
Forum: General Discussion
Topic: Shareware
Replies: 18
Views: 4255

On a related topic, if you offer your program as freeware is there any point in registering as a limited company just for the limited liability? Or are you not liable for data loss etc. because the product is not being sold? If you ask people to donate on your website does this have to be declared t...
by johnnyutah
Mon Jun 27, 2005 10:47 pm
Forum: Coding Questions
Topic: Tab to next panel
Replies: 3
Views: 1132

Sorry to be a pain but I also need to do this for a check box gadget but both methods mentioned in my last post don't work to detect that the focus has been lost. Can anyone shed some light on this?
by johnnyutah
Mon Jun 27, 2005 10:27 pm
Forum: Coding Questions
Topic: Tab to next panel
Replies: 3
Views: 1132

I also had to do this for a combo box gadget and your excellent code put me on the right track. If you need to change to the next panel if a combo box gadget loses focus just substitute If EventType()=#PB_EventType_LostFocus with If GetFocus_() <> GetWindow_(GadgetID(#Name of gadget), #GW_CHILD) Tha...
by johnnyutah
Mon Jun 27, 2005 7:18 pm
Forum: Coding Questions
Topic: Tab to next panel
Replies: 3
Views: 1132

Tab to next panel

Hi,

I need to automatically select the next panel when someone presses tab in the last string gadget of the previous panel. Is this possible?
by johnnyutah
Sun Jun 05, 2005 4:19 pm
Forum: Coding Questions
Topic: Preventing use of tab key in EditorGadget
Replies: 10
Views: 1816

That works great - you're a genius!
by johnnyutah
Sat Jun 04, 2005 8:45 pm
Forum: Coding Questions
Topic: Preventing use of tab key in EditorGadget
Replies: 10
Views: 1816

I actually used the code in that post! However, it still causes a paragraph indent in the editor gadget when the tab key is pressed.
by johnnyutah
Sat Jun 04, 2005 6:59 pm
Forum: Coding Questions
Topic: Preventing use of tab key in EditorGadget
Replies: 10
Views: 1816

Preventing use of tab key in EditorGadget

Hi, Just a quick question. When someone presses the tab key I want to activate the next gadget and prevent the creation of a paragraph indent in the previous editor gadget. I can activate the next gadget by pressing the tab key in the editor gadget but can't prevent the creation of an indent in the ...
by johnnyutah
Tue Nov 23, 2004 9:48 am
Forum: General Discussion
Topic: Disclaimer
Replies: 3
Views: 1182

Thanks benny! I'm just wondering how much of a problem there is in terms of legal action against software developers (I guess if your program works as it should there's no problem!) and how much a disclaimer actually protect you from this. Althought it can't hurt to include one just in case and your...
by johnnyutah
Mon Nov 22, 2004 7:43 pm
Forum: General Discussion
Topic: Disclaimer
Replies: 3
Views: 1182

Disclaimer

Hi,

Does anyone know where I can find standard wording for a proper, legally-approved disclaimer that I can include with my software applications?

Thanks
by johnnyutah
Sat Nov 13, 2004 6:56 pm
Forum: Coding Questions
Topic: Scrollbar in ListIconGadget
Replies: 2
Views: 924

Thanks horst! I had a few problems getting this to work and in case anyone has to do this in future the actual code I used was: SendMessage_(GadgetID(#ListIconGadget), #LVM_SETCOLUMNWIDTH, 1, #LVSCW_AUTOSIZE_USEHEADER) where #ListIconGadget is the ListIconGadget identifier number/constant. The only ...