-
Posts
73 -
Joined
-
Last visited
Rafael P's Achievements

Member (2/4)
8
Reputation
-
Rafael P started following Does uniGUI have a "search engine improvement"? , How to avoid/block double click in a UniButton? , UniDBGrid CheckBox Select and 1 other
-
Is there a property or something else that i can block or simple don't allow user to click twice in a button in less than five seconds? I've tried this, but unfortunately doesn't work right: pUltimoClick := Now; if SecondsBetween(pUltimoClick, Now) < 5 then Exit;
-
And how can i get values from multiple checkboxes selected in a dbgrid and display in a ShowMessage, for example?
-
Hi everyone! Is there any solution to hide parameters like 'xxx.DLL' in mobile navigation on uniGUI? I mean, everytime we start the application on mobile he loads the main site and his .DLL. I want to hide all captions after '.com', including the 'ABCDEF.DLL' part. In desktop everything looks regular, but as soon we start to use mobile, he show all parameters... P.S: i've already see this link, including the solution from IIS, and doesn't work. Thanks!
-
Thanks, but apparently there's no solution (yet) for this... Have you tried something?
- 2 replies
-
- unigui settings
- search engine
-
(and 1 more)
Tagged with:
-
Hi everyone! Its gonna be difficult to explain this, but i will give a try: We have our template application (landing page) builded in a web app called 'Site 123' and uniGUI have this template deployed inside a container (TUniURLFrame). What happens is already saved this settings in the search engine inside the platform app (Site 123) and we want to achieve the most high access (clicks) into our website, but unfortunately, doesn't work as we think before. Is there any kind of setting to increase the searches of our website inside on uniGUI, so the application can give more 'visibility' to the user who is searching for the specific terms on the internet? Thanks to anyone who can answer this!
- 2 replies
-
- 1
-
-
- unigui settings
- search engine
-
(and 1 more)
Tagged with:
-
Rafael P started following unimDBGrid + XTemplate not working
-
Perfect! This will come in handy.
-
I have tried to do this in OnCreate Event, but it didn't work. And unfortunately, DBListGrid on Mobile doesn't have the OnDrawnColumnCell event which will be possible to change the color of the rows using Attributes from the grid (color or font, for example)....
-
Excuse-me if i asking you 'how to do' other things... But, now i'm trying to change some specifically row from the grid in run-time according to the status. For example, if status = 5 then *change the 7 column of the grid in run time to color red* in this case. Because the color that you're currently see, its just defined in html. So i pretend to change according to the status... There's some event of the grid that i can do this? If Yes, how can i supposed to do? Thanks again!
-
Thank you! It works great!
-
First of all, thank you for your help. It works, but parcially. I pretend to put some images to display in a grid in under circustances. There's 5 images, but only 2 has appeared to display... Here's my source. Hope you can help me to solve this, i can't find where is the error... - DataSource (OnCalcFields): procedure TDmNFe.SQL_Lista_NFeCalcFields(DataSet: TDataSet); var APath : String; begin if SQL_Lista_NFeid_status.AsInteger = cNFeFaltaEnviar then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/f.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeCancelado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/c.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeAutorizado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/a.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeUsoDenegado then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/d.png'; end; end; if SQL_Lista_NFeid_status.AsInteger = cNFeContingencia then begin if not DirectoryExists(APath) then begin DataSet.FieldByName('status_mobile').AsString := '/files/co.png'; end; end; end; These images that are marked with a row needed to display a third image (cNFeAutorizado), and unfortunately shows (cNFeFaltaEnviar). - The second image down below is the final result that i want to achieve (Desktop).
-
-
Ok, do you have any example of how can i use some images to attach on the grid? I mean, in the 7 index of my grid, i want to display some different images to distinct the row status. But, i'm using the Event OnFieldImage direct from the grid. Here's my scenario, hope you understand: - Grid: function beforeInit(sender, config) { function randomIntFromInterval(min, max) { return Math.floor(Math.random() * (max - min + 1) + min); } config.selectedCls=''; config.deleteRow=function(indx){ ajaxRequest(MNotaFiscal.window,'deleteRow',['index='+indx.toString()]); }; var clrs=['#5acb98','#72b3e3','#f98689','#fcca67','#d3b894','#f491bc']; var clrIndx=0; var htmlRow='<div class="myrow" style="background-color:#FAF6F5";height:auto">'+ '<table style="width:100%;height:100%;vertical-align:middle;margin-top:8px;margin-bottom:8px;">'+ '<tr>'+ '<td style="width:100%;text-align:center;color:#3093c7;font-family:verdana;font-size:16px;">'+ '<span style="color:#0092f4;width:100%;display:inline-block;"> {0} - {1}</span>'+ '<span style="color:#000;width:100%;display:inline-block;"> {2}</span>'+ '<span style="color:#000;width:300px;display:inline-block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;"> {4}</span>'+ '<span style="color:#000;width:100%;display:inline-block;">Valor: {6}</span>'+ '<span style="color:#000;width:100%;display:inline-block;">Status: {7}</span>'+ '</td>'+ '<td style="width:5px;text-align:center;">'+ '{[this.getNumber()]}'+ /*'<img src="files/images/up.svg" style="width:12px;height12px;margin:auto;"/>'+ '<span style="color:#f00;font-size:12px;">+ 150</span>'+*/ '</td>'+ '</tr>'+ '</table>'+ '</div>'; config.itemTpl= new Ext.XTemplate( htmlRow, { getColor: function(){ if(clrIndx>5){clrIndx=0;} return clrs[clrIndx++]; } } ); } OnFieldImage Event from the Grid: procedure TMNotaFiscal.dbListGridPadraoFieldImage( const Column: TunimDBListGridColumn; const AField: TField; var OutImage: TGraphic; var DoNotDispose: Boolean; var ATransparent: TUniTransparentOption); begin inherited; if SameText(AField.FieldName, 'status_mobile') then begin DoNotDispose := True; if AField.AsInteger = cNFeFaltaEnviar then OutImage := pImageFaltaEnviar.Picture.Graphic; end; end; But, in fact, the grid shows blank data, with no current image... Here's the example: I appreciate any help!
-
Same here... There's any workaround for this?
-
Someone has discovered how to attach some images?
-
I made a test case for this issue. Unigui_Mobile_Listview.rar