Hello,
Maybe this can help :
And a Better Solution :
http://forums.unigui.com/index.php?/topic/14772-how-can-i-receive-database-table-updates-periodically/&do=findComment&comment=81897
I am not a resseller
Just wanted to share with you this offer.
https://www.devart.com/?gclid=CjwKCAiA8Jf-BRB-EiwAWDtEGvznhhswyyg-d6fDDJ_k4AWcJjUxaLyRU_JTcieOpOJ6sMFd4Lod8hoCusAQAvD_BwE
Also for UniRadioGroup.
As Sherzod suggested it, i just Add on ServerModule > CustomCss
.x-fieldset-header {
overflow: initial;
}
Without setting all my UniRadioGroup in the Project, with LayoutConfig > Cls and that simply works !
Thx Sherzod.
An other way to do things right, is to use Unigui inherited object :
• Prepare some main models, containing virtual, abstract methods, where can be, later, overided by the inherited object.
This works fine, for a CRUD project.
There is a solution for that : Use Polymorphing technic : Declare your Methode as Overload :
public
function fct_index_Vide(cbo:TUniComboBox):boolean; overload;
function fct_index_Vide(cbo:TUnimDBLookUpComboBox):boolean; overload;
function fct_index_Vide(MyDataSet:TIBCQuery):boolean; overload;
procedure Remplir_cbo_ID_Tr(Champs, MaTable, Classement:string; cbo,cboID:TUniCombobox;
Contrainte:string; AvecClear:boolean; C:TIBCConnection); overload;
procedure Remplir_cbo_ID_Tr(Champs, MaTable, Classement:string; cbo,cboID:TUnimCombobox;
Contrainte:string; AvecClear:boolean; C:TIBCConnection); overload;
Yes. At this time, OOP is the Best way.
• Simply dedicate a Main Development Folder where are all your historical Classes (writed a long time ago) well documented (properties / method).
• For each new Project, PickUp on demand, these Classes, by adding them in your Project.
Example :
A New Project, will contain
- a loginForm
- a Connection DB
- a Backup/Restore
With OOP, you will never rewrite all redundant logic. Just declare an object and work...
This will save you hundreds hours !!!
@irigSoft,
interesting !
So, you are doing like Microsoft Windows concept (build with thousands dll). That's right ?
in this case how can you deal with Unigui dll (isapi) ?
I mean it's not simple to combine multiple unigui dll on one Mainform. Can you explain more...
if you can do it, then the idea is awesome !!!
(we can build big Unigui Project on demand)
Thx.
Dear,
After populating an UnimDBLookupComboBox1, I would like to go to the First item manually (not by Select Event). And then show the KeyValueStr.
procedure TFraAccueil.UnimButton1Click(Sender: TObject);
begin
// MyDataSet.First; No help
UniDBLookupComboBox1.ItemIndex:=0;
// UniDBLookupComboBox1.OnSelect(Self); // raise an AV
showmessage(UniDBLookupComboBox1.KeyValueStr);
end;
ShowMessage shows nothing !
Thx for any help.
Build 1539
Maybe on beforeShow event :
For each component in yourForm Do
Begin
if component.Tab = 3 then
begin
Component.ClienteEvents.UniEvents.beforeevent:=.....
end
end;
IMHO, This is a No conventional doing in unigui.
Unigui not support a pure classical Delphi VCL form.
If you want to convert your old form (vcl), then create a new unigui Project, with a new Uniform and rewrite your code, with unigui components.
Regards
Glad to see you back in good shape. I am sure that you will realize great projects and bring your experience to unigui developers, as you are used to doing
Hello ZigZig,
it was a long time, we did'nt hear you. How are you ?
Hoping all is OK for you and your family
Here is a link for the source code you are looking for :
https://www.uniguiwiki.com/knowledgebase/example-building-mobile-drawer/