Jump to content

Huseyin SEKER

  • Content Count

  • Joined

  • Last visited

  • Days Won


Everything posted by Huseyin SEKER

  1. Hi, I have two forms, is it possible to copy some controls on the first form to the second form with exactly same left and top positions?
  2. Hi, I want listbox items word-wrapped, i want long text displayed as two lines, can i do that? And another question: can i change item font, color, size, height etc. ?
  3. How long does the local storage values are kept in browser's local storage? Is there a expiration time that is automatically deleted?
  4. How can i declare a function or procedure which is accessible to all forms? I tried uses ..., public declaration but it didn't work.
  5. i tested on xiomi redmi 4x (resolution is 1280x720) ok i will try on other devices and try rendering suggestion.
  6. Hi, i load image to a tw3image control by below code: image1.LoadFromUrl('http://selcuklubilsem.com/sample/Line.jpg'); You can see this on the page: http://selcuklubilsem.com/sample/index.html The page is well shown (clear) on windows machines but in mobile phone (android) the image is blurry, why this happens? I tested with chrome. Note: I changed imagefit property to fsnone. I'm using sms 3.9.1 See attachment picture please.
  7. Can you post the code you used? Maybe it is better.
  8. Hi, i searched over internet and found some usefull scripts. (Source: https://stackoverflow.com/questions/12381563/how-to-stop-browser-back-button-using-javascript ) When you add following javascript codes before </head> tag of index.html it works. <script language="javascript"> history.pushState(null, document.title, location.href); window.addEventListener('popstate', function (event) { history.pushState(null, document.title, location.href); }); </script> </head> I tested on windows (firefox and chrome) and on android cell phone (chrome brow
  9. I tried your code but it doesn't work. I tested on android (chrome) and windows (firefox). When i press back button of my cell phone below ( near home and recent apps button) it goes back to previous page, i don't want that. I want the visitor stay on my page-my application. In windows it's not so important but in cell phones it is important.
  10. How can i disable back button on android chrome browser? You wrote some code below which gives errors when i compile,so which units should i write to uses section?
  11. Thanks that made the solution. Now on windows and android phone a nice scrollbar is shown and it works. I face problems using IDE sometimes, i can write them here when i got time. And this topic is related to IDE i think but i posted to "code" section by mistake, you may move it if you want.
  12. Thats nice. I tried to copy and paste from character map of windows and it didnt work but this works, thanks.
  13. Hi, I want to display some signs on the label for example a left arrow sign, an enter sign like on keyboard, can i do that? for example can i implement wingdings 2 font family to a label, is it possible?
  14. Hi wish you good day, I placed a listbox on the form and entered a lot of items. When i compile it and test on browser vertical scrollbar is not displayed, but when i mouse over it it is displayed and it is a tiny scrollbar. So i tried to change scrollbars property to "sbscrollbar" by property inspector, when i compile it gives error "Unknown name "TW3ScrollBarType" How can i show a wide normal scrollbar on listbox?
  15. Thanks, with divhtmlelement the below code worked allright: W3DIVHtmlElement1.InnerHtml:='today<br><br><br>weather<br>sunny';
  16. Hi, I'm trying to add newlines with code for example: W3Label1.Caption:='today<br><br><br>weather<br>sunny'; in chrome the result is as expected: today weather sunny BUT in firefox (old or newest version it's the same) the result is not correct as below: today weather sunny. I added three <br> but it only makes 1 linebreak, why? How can i solve this? I tried #13#10 and it didn't work on chrome or firefox either.
  17. Ok, thank you, in rad studio delphi if you are developing an application for android then it's not advised so i asked here.
  18. is it allright to get a char of string like this s[1] var s: string='abcd'; for example s[1] gives a s[2] gives b s[s.length] gives d
  19. I have a panel which contains a lot of content. When i use: W3Panel1.NativeScrolling:=true; on windows scrolling is OK and firefox and chrome shows scrollbars. But when i test it on my android phone with chrome, scrollbars aren't displayed. How can i show vertical scrollbars so the user can understand there is content below? And there is tw3verticalscrollbar visual control on scrolling tab, how to use it? And what are the difference between tw3scrollbox and tw3nativescrollbox? How to use tw3scrollbox? I need documentation about using most of the controls.
  20. i wanted to add long content by property inspector. What if i want to add 2 pages of text to the memo, how difficult it would be add such text by code.. I think a memo control should get multiline content at design time, that's why it's name is memo. Also i cannot access a line like this w3memo.Lines[3] etc..
  21. Thank you, I tried both codes on windows and android, Jartos codes gave better results on scrolling-swiping. By the way i have two other questions if you may help: 1. is there a timer control? In delphi there is a timer control on system tab. 2. tw3memo control doesn't have lines property. For example if i write 3 lines like this on note pad: Apple Banana Cherry and copy-paste them to twmemo's text property in only pastes the first line (Apple), how can i fill memo with multi line content?
  22. I'm testing SMS nowadays. The documentation is not enough. I'm trying to learn most of things from forum and searching internet. The book is not enough too. About license I applied for education license (I am a teacher) but i couldn't get a reply. I won't use this software for commercial, can't i get at least one education license for longer testing.
  23. Thank you, this is much shorter. But this gave error editBoxes.Add(Child); so i changed it like this: editBoxes.Add(Child as TW3EditBox);
  • Create New...