Page 1 of 1

time schedule system

PostPosted: Fri Apr 09, 2021 12:02 pm
by Otto
Hello friends,

I am starting on a web interface for my schedule system.
This system uses the file system directly without a database.
There is a daily folder for the next few years on the hard disk.
Virtually this system recreates an appointment book.
A simple file manager helps to assign the documents with drag & drop and a file browser.

Best regards,
Otto
https://mybergland.com/fwforum/scheduler.mp4

Re: time schedule system

PostPosted: Thu Apr 15, 2021 4:24 pm
by Otto
Hello friends,
Now editing the appointment items is working fine.
Best regards,
Otto
Image

Re: time schedule system

PostPosted: Thu Apr 15, 2021 7:47 pm
by cnavarro
Otto, it's great, congratulations

Re: time schedule system

PostPosted: Fri Apr 16, 2021 8:02 am
by Otto
Dear Cristobal,

Thank you for the kind words.
Now also preload is working fine.

Best regards,
Otto

Image

Re: time schedule system

PostPosted: Fri Apr 16, 2021 8:35 am
by Otto
Hello friends,
Here you can see a size comparison.
Regards,
Otto


Image

Re: time schedule system

PostPosted: Fri Apr 16, 2021 10:39 am
by Antonio Linares
Dear Otto,

You could supply the factor as a parameter:

function resizeImage( cSrc, cDst, nValue )

local nQuality := 0
local oImage := GdiBmp():New( cSrc )
local nFactor := oImage:GetWidth() / If( Empty( nValue ), 400, nValue )
local newHeight := oImage:GetHeight( nFactor )

FErase( cDst )
oImage:Resize( If( Empty( nValue ), 400, nValue ), newHeight )
oImage:Save( cDst, nQuality )
oImage:End()

return nil