MiniGUI DBU
Moderator: Rathinagiri
Re: MiniGUI DBU
Hello everyone
I would also wonder why the feature's browse support function has disappeared
tbrowse lost completely
Regards, Georg
I would also wonder why the feature's browse support function has disappeared
tbrowse lost completely
Regards, Georg
Re: MiniGUI DBU
Hi Edward,edk wrote: ↑Thu Nov 08, 2018 8:13 am Hi again.Small Errat.
It works fine on my home computer, at work: on some computers it's OK, and others are not. I was looking for differences, I compared the OS version, environment settings. In the end I came to the fact that the reason is the resolution of the screen.
I made the test on one computer (Win10 v.1803, 64-bit) and here are the results:
It's correct for resolutions:
1152 x 864
1280 x 600
1280 x 720
1280 x 800
1280 x 960
1280 x 1024
1440 x 1050
1440 x 900
1600 x 900
1680 x 1050
1920 x 1080
Incorrectly at resolutions:
1024 x 768
1280 x 768
1360 x 768
1366 x 768
As you can see, it is incorrect when the screen height is set to 768 pixels.
Regards, Edward.
Thanks for your investigations and feedback.
I can not reproduce this problem in my home PC (please look at attached screenshot with resolution 1280x768).
BTW I've attached also an updated version of this application for your review.
- Attachments
-
- MGDBU065.zip
- (951.58 KiB) Downloaded 267 times
-
- 1260x768.png (158.4 KiB) Viewed 4774 times
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: MiniGUI DBU
Hi Grigory.
Thanks for the new version. In the attachment, I present a video showing how TsBrowse behaves on my computer at resolutions of 1280x800 and 1024x768. Can anyone confirm it on their own computer?
Regards, Edward
Thanks for the new version. In the attachment, I present a video showing how TsBrowse behaves on my computer at resolutions of 1280x800 and 1024x768. Can anyone confirm it on their own computer?
Regards, Edward
Re: MiniGUI DBU
Hi Edward,
Ok, thanks for your video confirmation.
Please be so kind to revise the latest attached version.
Your feedback is welcome
- Attachments
-
- MGDBU066.zip
- Latest version for testing
- (955.09 KiB) Downloaded 275 times
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: MiniGUI DBU
Hey,
thanks for your patience.
After changing the height of the grid header is now OK for the window height 768 px.
I did some more tests. They show that the problem occurs when the window size is set to such a height that the horizontal slider obscures the line separating the rows. I do not know if you understand me well, because my English is not the best, so I will try to present it with screenshots.
At this window height the scrolling is correct. And at this height, the records are duplicated during scrolling. The difference between windows is 1 px in height.
If we still reduce the window height by another 1 px, then they are not duplicated, but the last line (the incomplete height) is not refreshed. Can you confirm it and report it to the TsBrowse authors?
By the way, I noticed one more curiosity: the size of the window that I define in HMG does not correspond to the size of the window on the screen (the size read from the capture of the screenshot)
The size of 600 x 275 px is defined in the sources:
and the screenshot is made in the size of 586 x 268 px. (difference in dpi?)
thanks for your patience.
After changing the height of the grid header is now OK for the window height 768 px.
I did some more tests. They show that the problem occurs when the window size is set to such a height that the horizontal slider obscures the line separating the rows. I do not know if you understand me well, because my English is not the best, so I will try to present it with screenshots.
At this window height the scrolling is correct. And at this height, the records are duplicated during scrolling. The difference between windows is 1 px in height.
If we still reduce the window height by another 1 px, then they are not duplicated, but the last line (the incomplete height) is not refreshed. Can you confirm it and report it to the TsBrowse authors?
By the way, I noticed one more curiosity: the size of the window that I define in HMG does not correspond to the size of the window on the screen (the size read from the capture of the screenshot)
The size of 600 x 275 px is defined in the sources:
Code: Select all
#include "hmg.ch"
FUNCTION Main()
DEFINE WINDOW Form1 AT 0 , 0 WIDTH 600 HEIGHT 275 TITLE 'Main' MAIN
END WINDOW
CENTER WINDOW Form1
ACTIVATE WINDOW Form1
Return Nil
Re: MiniGUI DBU
Hi Edward,edk wrote: ↑Fri Nov 09, 2018 10:07 pm Hey,
thanks for your patience.
After changing the height of the grid header is now OK for the window height 768 px.
I did some more tests. They show that the problem occurs when the window size is set to such a height that the horizontal slider obscures the line separating the rows. I do not know if you understand me well, because my English is not the best, so I will try to present it with screenshots.
Can you confirm it and report it to the TsBrowse authors?
Thanks for your tests and explanation.
It is a known problem in the TsBrowse library but it is not critical.
The simple workaround is a placing of the TBrowse object into a window with the NOSIZE style.
BTW Your English is a perfect in the comparison with me
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: MiniGUI DBU
Hello Grigory.
Thanks for the info, I keep my fingers crossed for the development of TsBrowse, it seems to me that it has great potential.
It's a pity that it isn't in the official HMG.
I regret that I can't help in its development and implementation in HMG due to poor knowledge of C.
P.S. You' re very kind.
Regards, Edward.
Thanks for the info, I keep my fingers crossed for the development of TsBrowse, it seems to me that it has great potential.
It's a pity that it isn't in the official HMG.
I regret that I can't help in its development and implementation in HMG due to poor knowledge of C.
P.S. You' re very kind.
Regards, Edward.
Re: MiniGUI DBU
Hello Edward,
Did you take a look for the following very old post at
http://www.hmgforum.com/viewtopic.php?f=8&t=1492
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: MiniGUI DBU
Hi All,
I've uploaded a latest version of MiniGUI DataBase Utility for your review.
Your feedback is welcome
I've uploaded a latest version of MiniGUI DataBase Utility for your review.
Your feedback is welcome
- Attachments
-
- MGDBU068.zip
- mgDBU application
- (962.28 KiB) Downloaded 266 times
Kind Regards,
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Grigory Filatov
"Everything should be made as simple as possible, but no simpler." Albert Einstein
Re: MiniGUI DBU
hi grigory
great job but it gives me the next error.
regards.
Application: G:\Downloads\MGDBU068\MGDBU.exe
Date: 13/11/2018 Time: 12:54:26
Time from start: 0 days 0 hours 1 mins 51 secs
Error BASE/1003 Variable does not exist: NUMERO
Called from (b)FIELDWBLOCK(0)
Called from TSBROWSE:BDATAEVAL(1554) in module: h_tbrowse.prg
Called from TSBROWSE:DRAWLINE(3453) in module: h_tbrowse.prg
Called from TSBROWSE:PAINT(9739) in module: h_tbrowse.prg
Called from TCONTROL:HANDLEEVENT(878) in module: TControl.prg
Called from TSBROWSE:HANDLEEVENT(8291) in module: h_tbrowse.prg
Called from EVENTS(94) in module: h_events.prg
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(1498) in module: h_windows.prg
Called from MAIN(143) in module: MGDBU.prg
great job but it gives me the next error.
regards.
Application: G:\Downloads\MGDBU068\MGDBU.exe
Date: 13/11/2018 Time: 12:54:26
Time from start: 0 days 0 hours 1 mins 51 secs
Error BASE/1003 Variable does not exist: NUMERO
Called from (b)FIELDWBLOCK(0)
Called from TSBROWSE:BDATAEVAL(1554) in module: h_tbrowse.prg
Called from TSBROWSE:DRAWLINE(3453) in module: h_tbrowse.prg
Called from TSBROWSE:PAINT(9739) in module: h_tbrowse.prg
Called from TCONTROL:HANDLEEVENT(878) in module: TControl.prg
Called from TSBROWSE:HANDLEEVENT(8291) in module: h_tbrowse.prg
Called from EVENTS(94) in module: h_events.prg
Called from DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(1498) in module: h_windows.prg
Called from MAIN(143) in module: MGDBU.prg
,___,
[O.o]
/)__)
-”–”-
KoKe
[O.o]
/)__)
-”–”-
KoKe