HMG4 dialogs (some functions)
Moderator: Rathinagiri
HMG4 dialogs (some functions)
Hello everyone,
since I have updated some of the functions relating to directory functions, I tested some parts of the source dialogs.prg.
I refer to the functions HMG: GetFile, PutFile, GetFolder and consequently the basic function GetSetFile.
I found some little problems.
Preserving compatibility with HMG3, I tried to write the code a little differently, especially for the function GetSetFile which reduced the number of parameters (less than before) and placed them otherwise.
Also, I tried to pay attention to the presence or absence of certain parameters as well as their consistency or value.
Another example of action: I use the function GetUserHomeFolder() to establish, in the absence of the parameter value, from which directory to start looking.
Finally, with regard to selecting a file to update, I used the correct configuration for DialogBox, activating the button "SAVE" instead of "OPEN". In this way, by selecting an existing file, automatically gives a further QT DialogBox which asks the question "Do you want to replace ..." and has two buttons: "Yes" and "No " (but read comment inside source, please)
Since the function GetSetFile is different , let me know if you think this version should be published or not.
In my version the functions are called "L_GetFile", "L_PutFile", "L_GetFolder" and "L_GetSetFile" to avoid conflicts.
Cheers
since I have updated some of the functions relating to directory functions, I tested some parts of the source dialogs.prg.
I refer to the functions HMG: GetFile, PutFile, GetFolder and consequently the basic function GetSetFile.
I found some little problems.
Preserving compatibility with HMG3, I tried to write the code a little differently, especially for the function GetSetFile which reduced the number of parameters (less than before) and placed them otherwise.
Also, I tried to pay attention to the presence or absence of certain parameters as well as their consistency or value.
Another example of action: I use the function GetUserHomeFolder() to establish, in the absence of the parameter value, from which directory to start looking.
Finally, with regard to selecting a file to update, I used the correct configuration for DialogBox, activating the button "SAVE" instead of "OPEN". In this way, by selecting an existing file, automatically gives a further QT DialogBox which asks the question "Do you want to replace ..." and has two buttons: "Yes" and "No " (but read comment inside source, please)
Since the function GetSetFile is different , let me know if you think this version should be published or not.
In my version the functions are called "L_GetFile", "L_PutFile", "L_GetFolder" and "L_GetSetFile" to avoid conflicts.
Cheers
- Attachments
-
- l3w_dialogs.zip
- L3W pow about some function in dialogs.prg
- (1.91 KiB) Downloaded 280 times
Luigi from Italy
www.L3W.it
www.L3W.it
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: HMG4 dialogs (some functions)
Hi
I'm trying to download the code and I can't. I get this file with message:
You are not authorised to download this attachment.
I tried with 2 browser deleting al cookies.
Any idea about this.
Am I punished ?
I'm trying to download the code and I can't. I get this file with message:
You are not authorised to download this attachment.
I tried with 2 browser deleting al cookies.
Any idea about this.
Am I punished ?
- Attachments
-
- l3w_dialogs.zip
- (2.2 KiB) Downloaded 230 times
Regards/Saludos, Carlos (bcd12a)
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG4 dialogs (some functions)
Hi,
I have tested out your permissions and I can download the file pretending to be you.
Does anybody else have the same problem?
I don't understand why this happens. Sorry for the inconvenience.
I have tested out your permissions and I can download the file pretending to be you.
Does anybody else have the same problem?
I don't understand why this happens. Sorry for the inconvenience.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG4 dialogs (some functions)
Hirathinagiri wrote:...
Does anybody else have the same problem?
From my side, no. Downloaded without any problem.
Hi Carlos,
Did you verified your privileges regarding OS settings ?
Regards
--
Esgici
Viva INTERNATIONAL HMG
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: HMG4 dialogs (some functions)
Hiesgici wrote:Hirathinagiri wrote:...
Does anybody else have the same problem?
From my side, no. Downloaded without any problem.
Hi Carlos,
Did you verified your privileges regarding OS settings ?
Regards
--
Esgici
Normally I don't have problems to download files from the forum, just the last ones
Regards/Saludos, Carlos (bcd12a)
Re: HMG4 dialogs (some functions)
Hi Carlos,
I've downloaded without problems, but I don't know if my test it's important: I've uploaded this file.
Cheers
I've downloaded without problems, but I don't know if my test it's important: I've uploaded this file.
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
-
- Posts: 245
- Joined: Sat Aug 02, 2008 5:03 pm
Re: HMG4 dialogs (some functions)
Luigi can you send it to me at bcd12a(a_t)yahoo.com.arl3whmg wrote:Hi Carlos,
I've downloaded without problems, but I don't know if my test it's important: I've uploaded this file.
Cheers
Ratinagiri don´t worry about thisl3whmg wrote: I have tested out your permissions and I can download the file pretending to be you.
Does anybody else have the same problem?
I don't understand why this happens. Sorry for the inconvenience
I will upload a dummy file to check something, please Ignore this file
- Attachments
-
- dummy.zip
- (143 Bytes) Downloaded 256 times
Regards/Saludos, Carlos (bcd12a)
Re: HMG4 dialogs (some functions)
Hi Carlos,
I sent to you a zip file. Sometime I have same problems when downloading files from internet. I'm not sure, but I think about two problems: FF (normally I use this browser) and/or MsWin system. But I don't find a good solution: simply close browser or change folder destination....
Cheers
I sent to you a zip file. Sometime I have same problems when downloading files from internet. I'm not sure, but I think about two problems: FF (normally I use this browser) and/or MsWin system. But I don't find a good solution: simply close browser or change folder destination....
Cheers
Luigi from Italy
www.L3W.it
www.L3W.it
- dhaine_adp
- Posts: 457
- Joined: Wed Aug 06, 2008 12:22 pm
- Location: Manila, Philippines
Re: HMG4 dialogs (some functions)
Hi Rathi,
I also encountered this problem. But it seems to me that it is a connection timed-out. Means if the browser is idle looks the forum software disconnects the connection or closes the connection.
If I right click on IE and open in new tab several links within the forum, although I was logged on on the first window but on the other tabs it says it shows login. Looks like that when we are not logon to HMG4 related links download is restricted. Well it is based on my observation but might also an O/S issue.
Regards,
Danny
I also encountered this problem. But it seems to me that it is a connection timed-out. Means if the browser is idle looks the forum software disconnects the connection or closes the connection.
If I right click on IE and open in new tab several links within the forum, although I was logged on on the first window but on the other tabs it says it shows login. Looks like that when we are not logon to HMG4 related links download is restricted. Well it is based on my observation but might also an O/S issue.
Regards,
Danny
Regards,
Danny
Manila, Philippines
Danny
Manila, Philippines
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG4 dialogs (some functions)
It might be a problem related to cookie.
Have you enabled cookie for our forum?
Have you enabled cookie for our forum?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.