andyhill
-
Posts
1262 -
Joined
-
Last visited
-
Days Won
6
Content Type
Profiles
Forums
Events
Posts posted by andyhill
-
-
I use data filtering logic to control the amount of data fetched and do not want the Grid in Paged mode, however I DO WANT the Built-In Navigation Bar - please advise how to show the Built-In Navigation Bar when not in Paged Mode - Thanks (I searched the forum but too many non related search results).
-
Happy to supply Console Log
-
Check the id name and the for=id name in the <label image above
I have many panels, many HTMLFrames, a grid, and a hidden panel with 3 editors.
Removing the hidden panel and removing reference to the editors makes no difference.
Cannot slim down to shell (use third party ElevateDB and HtmlLib) which connects grids etc..
Sherzod, I believe it requires a remote session to resolve.
-
-
Thank you Farshad, it is the first time that this has happened to me - now wiser
- 1
-
Bare bones D12 example
-
When Winapi.Windows unit is added to ServerModule (in order to decode LOCALE_SYSTEM_DEFAULT required by GetLocaleFormatSettings)
All reference to Bitmaps in Vcl.Graphics unit no longer works
procedure CustomProc(Sender: TObject);
var
bmp: TBitmap;
begin
bmp:= TBitmap.Create; ERROR UnDeclared Identifier Create
Remove Winapi.Windows unit and rem out GetLocaleFormatSettings and all works normally ?
unit ServerModule;
interface
uses
Classes, SysUtils, StrUtils, ShlObj, ActiveX, Vcl.Graphics, Vcl.Imaging.jpeg, {Winapi.Windows,}
DateUtils,
//
uniGUIServer, uniGUIMainModule, uniGUIApplication, uniGUITypes, uniGUISessionManager,
//
IdBaseComponent, IdAntiFreezeBase, IdAntiFreeze, IdComponent, IdTCPConnection, IdTCPClient,
IdExplicitTLSClientServerBase, IdMessageClient, IdSMTPBase, IdSMTP, IdIOHandler, IdIOHandlerSocket,
IdIOHandlerStack, IdSSL, IdSSLOpenSSL, IdMessage, idAttachmentFile, IdICMPClient, IdHTTP,
uIdCustomHTTPServer,
//
IdSASLAnonymous, IdSASLDigest, IdSASLLogin, IdSASLOTP, IdSASL_CRAM_MD5, IdSASLPlain,
IdSASL_CRAM_SHA1, IdSASLSKey, IdUserPassProvider
;
-
I use the following code in ServerModule that worked fine before D12, if I include the Winapi.Windows unit then all reference to TBitmap (Vcl.Graphics) within the ServerModule fails, please advise - thanks in advance.
initialization
RegisterServerModuleClass(TUniServerModule);
//
(*
var Fmt: TFormatSettings;
GetLocaleFormatSettings(LOCALE_SYSTEM_DEFAULT, Fmt); // Winapi.Windows
Fmt.ShortDateFormat:= 'dd/mm/yyyy';
Fmt.DateSeparator:= '/';
Fmt.DecimalSeparator:= '.';
*)
//
end. -
UniGUI 1971
Delphi 11.3
UnimTreeMenu
Align:= alRight
Anchors:= [akTop,akRight,akBottom]
Width:= 120;FILLS THE ENTIRE FORM
FIX REQUIRED A COMPLETE CHROME CLEAR HISTORY / CACHE - Now Working
-
Farshad, I did write to you personally about offering a Layout Example but you never responded ?
-
Yes, point learned the hard way
-
FOUND IT IN CHROME EXTENSIONS - not sure how it got their - now removed
- 1
-
I have searched my system based on
https://www.3cx.com/blog/docs/uninstall-check/
There is no visible trace of 3cx.
-
There are over 6516 css files on my PC.
Grep searching in every css file fails to show *3cx*
Grep searching in every js file fails to show *3cx*
Windows itself seems to have been programmed (by 3cx I presume but I have no 3cx on my system) that any 10 digit phone number is to be automatically linked to 3cx Phone Call servers ???
2019-2020 tries to call 3cx
2019/2020 tries to call 3cx
2019>2020 is not tampered with therefore no crash.
Farshad, how do we keep our TUniComboBox contents from being hijacked by Windows ?
-
Farshad, I have written this many ways - same crash.
What I have just noticed is the contents of the TUniComboBox which only has text line entries by me are displayed in underlined with flyout hint to Link to 3CX something we are not using.
How do I stop 3CX CSS from inhabiting my TUniComboBox ?
-
"making some crucial modifications to Ajax library" OK, please consider ServerModule Broadcasting too - thanks.
-
Farshad, I can broadcast from a session to sessions as expected, I want to broadcast from ServerModule code to any open sessions - please advise how - Thanks.
-
Sherzod, Please advise why "TUnimDBListGrid Column[i].AllowHTML:= True;" does not paint '<p style="color:red;">'+TimeStr+'</p>'; red ?
-
Any suggestions on how to display html code with mobile dblistgrid column ?
-
Please advise how within servermodule code I can broadcast to all connected browser sessions.
-
I added the ajax code to your skeleton sample and it worked so it obviously has to do with timing issues.
I will need time to strip my project down and identify the timing/synchronisation problems - thank you for your input.
- 1
-
Thank you but I am not actually using a Button or an Editor, I am doing it via a FORM AjaxEvent inside a mLoginForm.
-
Sherzod, the event name was left out in my post for clarity.
It is normal programming that only has issues (not working) with Touch Login Form.
-
In my CalcFields Event I determine the Count value and then I want to format the string response to display in HTML but it fails - please advise;
if Odd(Count) = True then begin
TimeStr:= '<p style="color:blue;">'+TimeStr+'</p>';
end else begin
TimeStr:= '<p style="color:red;">'+TimeStr+'</p>';
end;
DBGrid Built-In Navigation Bar: Display When Not In Paged Mode - How
in General
Posted
UniDBNavigator1 is not the Built-In one but an externally added one, I need the Built-In PaginBar that has been modified by me in FormCreate Grid.UniEvents
MyScript:= 'pagingBar.afterCreate=function pagingBar.afterCreate(sender)'#13#10 +
'{'#13#10 +
I add all of the new Buttons and DatePickers etc. here, all good, they show and work perfectly when paged