andyhill
-
Posts
1266 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Posts posted by andyhill
-
-
Thanks, what about TSparkleUtils ?
-
Which Delphi unit does TRestNewUtils come from ?
-
I am trying to force GoogleMaps to FullScreen via code (MainFormDisplayMode:= mfPage;). Please advise how - Thanks in advance
Played with <div
s:= '<div id="uni_map_canvas" style="position: absolute; width: 100%; height: 100%"> '+
' <iframe '+
' src="https://www.google.com/maps/embed/v1/place?key=xxx" '+
' width="100%" '+
' height="100%" '+
' style="border:0;" '+
' allowfullscreen '+
' referrerpolicy="no-referrer-when-downgrade" '+
' loading="lazy" '+
' > '+
' </iframe> '+
'</div>';
UniHTMLFrame1.HTML.Add(s);Played with CSS
s:= '.google-maps ' +
'{ '+
' position: relative; '+
' padding-bottom: 75%; '+
' height: 0; '+
' overflow: hidden; '+
'} '+
'.google-maps iframe '+
'{ '+
' position: absolute; '+
' top: 0; '+
' left: 0; '+
' width: 100% !important; '+
' height: 100% !important; '+
'} ';
CustomCSS.Add(s);s:= '.box '+
'{ '+
' height: 100%; '+
'} '+
'.box iframe '+
'{ '+
' width: 100%; '+
' height: 100%; '+
' border: none; '+
'} '+
'html, body '+
'{ '+
' margin: 0; '+
' padding: 0; '+
' width: 100%; '+
'} '+
'body '+
'{ '+
' font-family: "Helvetica Neue", sans-serif; '+
' font-weight: lighter; '+
' height: 100%; '+
'} ';
CustomCSS.Add(s);
-
I would like to save the GoogleMap Image already rendered inside HtmlFrame, please advise how - thanks
-
A quick look tells me you are referencing a dynamically generated component name "O1D_id"
This will change, not a good idea.
-
Understood, but a necessary feature I believe Sencha should consider - thanks Sherzod for your time.
-
Sorry Sherzod, this is not a proper solution.
The Calendar Object should have a Print Method / Export Method built within it - not a screen shot.
-
As per topic heading "Mobile" Month View.
-
This is what I do
edtEmail.JSInterface.JSConfig('labelTextAlign', ['right']);
-
Print Calendar Month View
Calendar Month View to PDF
-
Sherzod, is there a way to Print a Calendar's Month View ?
-
I have a Mobile Application that uses the TUnimCalendarPanel and I want to print a Desktop Emulation Month View on A4 Landscape Paper.
So with a Mobile Device running the Mobile Application I want to invisibly create a Desktop Emulation Month View and print the HTML Contents -or- convert to PDF.
Don't worry about the printing or PDF processes, I just need access to the HTML that painted the Desktop Emulation Month View.
Please advise - thanks in advance.
-
Sherzod, you are a genius - thank you
This could perhaps be incorporated in a future update.
-
No, this is what I want to achieve, PRIOR / NEXT buttons (aligned with date text line) with ajax responses.
-
-
Also, older code no longer works - do we do it differently now ? Have I missed something ?
Timing Issue not fixed.
-
I want to add "<" and ">" Buttons on Mobile Rendering instead of "+"
-
-
Yes, searching the forum and documentation is always the first thing I do.
I understand that Grids and XTemplates are not the common way developers go but it does allow for ones imagination to be realized.
I will soldier on ...
-
It appears that:-
Mobile
DBListGrid
XTemplate
runtime BeginUpdate/EndUpdate unravels the whole UniGUI wrapper Sencha FrameWork creating duplicated entangled not fully formed code prone to errors.My work around, do not use DBListGrid BeginUpdate/EndUpdate at runtime.
-
-
Sherzod, can you please show me how to add script functions to DBListGrid XTemplate <img tag OnClick
and how to call function via AddJS ?
Thanks
-
-
Self.TitleButtons[2].Action.Execute In Code - How ?
How to change attributes (Secure = True, HTTPOnly = True, Name = SomeNewName) on the "UNI_GUI_SESSION_ID" cookie.
in General
Posted
I stopped using cookies a long time ago, why not use local storage with your own encryption.