Jump to content

warat mookdaanan

uniGUI Subscriber
  • Posts

    48
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

warat mookdaanan's Achievements

Newbie

Newbie (1/4)

2

Reputation

  1. Thank you very much it ok i low html
  2. UniQuery1.Close; UniQuery1.Open; html:='<div class="grid-container">'+ '<div class="grid-x grid-padding-x">'; while not UniQuery1.Eof do begin val:=UniQuery1.FieldValues['barcode']; html := html + '<div class="large-2 medium-3 small-8 cell"><a href="#" onclick="ajaxRequest(MainForm.UniHTMLFrame1, '+val+',[])">'; and UniHTMLFrame1AjaxEvent ShowMessage(EventName); everything is ok when my UniQuery1.FieldValues['barcode']=8850002004467 Eventname is 8850002004467 but if my UniQuery1.FieldValues['barcode']=004115 Eventname is 2125 i don't understand why it error
  3. i use UnimHTMLFrame1 and in html property is <!DOCTYPE html> <html> <body> <p>Click the button to get your coordinates.</p> <button onclick="getLocation()">Try It</button> <p id="demo"></p> <script> var x = document.getElementById("demo"); function getLocation() { if (navigator.geolocation) { navigator.geolocation.getCurrentPosition(showPosition); } else { x.innerHTML = "Geolocation is not supported by this browser."; } } function showPosition(position) { x.innerHTML = "Latitude: " + position.coords.latitude + "<br>Longitude: " + position.coords.longitude; } </script> </body> </html> when i click button to detect gps location is show in picture but i don't know when i want value to show in unimedit1.text=lat and unimedit2.text=long how i must to do this? i think it do with ajaxEvent but i don't know method to do that? please tell me thank you warat
  4. do you have new link for example Project available at https://www.uniguiexpress.com
  5. i try to use this code but i don't understand to make it do you have example to try this?
  6. in form have navigatekeys but in mobile form not have navigatekeys
  7. in form is work ok if i want to use in mobile form how i must to do? i use mobile to check stock inventory use with barcode scanner
  8. i download but dbgrid not show same video do you have other file?
  9. procedure TMainmForm.UnimFileUpload1Completed(Sender: TObject; AStream: TFileStream); var G : TGraphic; ThumbNail : TJPEGImage; DestName : string; DestFolder : string; begin DestFolder:=UniServerModule.FilesFolderPath+'images\UploadFolder\picemploy\'; UnimFileUpload1.FileName:=MainmForm.myid+'.jpg'; DestName:=DestFolder+ExtractFileName(UnimFileUpload1.FileName); CopyFile(PChar(AStream.FileName), PChar(DestName), False); imgLogo.Picture.LoadFromFile(ServerModule.UniServerModule.FilesFolder+'\images\UploadFolder\picemploy\'+myid+'.jpg'); end; file is big how i want to resize to 800x600 before save to server
  10. in my video 3113.t.mp4 and 3114.t.mp4 i make button to click open line and map but my android can click and work but my iphone can click but not response my code UniSession.BrowserWindow('https://goo.gl/maps/R6BSrdUWtyF4edks8', 0, 0, '_blank'); and in my video 3115.t.mp4 in my android it show my price 1.500,00 it not correct in my iphone it show my price 1,500.00 it is correct what i must to do to solve my problem 3113.t.mp4 3114.t.mp4 3115.t.mp4
  11. i don ' t know to explain what exactly doesn’t work? but not problem i have new problem in unimDBGrid column show my number when i use android mobile and android tablet my number is show 1.500,00 but in my daughter iPhone is show 1,500.00 i must to solve this problem i want my number is 1,500.00 i try to download unigui last version 1.90.0.1531 but everything is not change Please tell me for solve this problem
  12. i try to do this function beforeInit(sender, config) { config.loadingText='ppp...'; config.grouped=false; config.selectedCls=''; config.itemTpl='<table style="width:100%;white-space: nowrap;vertical-align:middle;">'+ '<tr>'+ '<td style="color:#3a6383;padding-left:5px;" colspan="2">aaa: (0)</td>'+ '</tr>'+ '<tr>'+ '<td style="font-size:15px;padding-top:4px;padding-left:5px;color:#535454;">(1)</td>'+ '</tr>'+ '<tr>'+ '<td style="font-size:15px;padding-top:4px;padding-left:5px;color:#535454;">(2)</td>'+ '</tr>'+ '</table>'; } but it not work i use unimDBgrid what i must to do
  13. i want to disable download picture when i holdpress what i must to do
×
×
  • Create New...