Questions tagged [editview]

31 questions
20
votes
3 answers

How to change color of the bubble (under cursor) on EditText (programmatically)?

I have EditText and want to change color PROGRAMMATICALLY on code. To change color of cursor I use this code. But how to change color of the circle on EditView PROGRAMMATICALLY on code?
NickUnuchek
  • 8,369
  • 9
  • 74
  • 111
3
votes
1 answer

EditText & Enter key

I want the functionallity just Enter -- EditText return and submit the text shift+Enter -- new line in EditText this is the code but it don,t work. No difference between Enter and shift+Enter (no new line): EditText…
user1114026
  • 31
  • 1
  • 2
2
votes
3 answers

How to ignore spaces between text editview Android

I am trying to ignore spaces in editview between text, I am not quite sure how I can go about doing this. I know I can use trim feature to ignore spaces before and after the full text but how do I ignore space between strings if there is any; String…
Henry
  • 1,002
  • 1
  • 14
  • 45
2
votes
2 answers

Conditionally make a field readonly in SugarCRM

I'm creating an Invoice Module on SugarCRM Community Edition (version 6.5.16). The trick I want to pull of is to make a field readonly based on the value of a checkbox named 'Sent'. So: If the invoice is sent the user is not able to edit the invoice…
2
votes
2 answers

SugarCRM- How to get POPUP when click on Save button?

I want when click Save in Edit View of some module (example Contact) to get pop up with some message (later I will get options OK and Cancel on that pop up.). My function YAHOO.SUGAR.MessageBox.show({msg: 'Foo'} ); is working when I put it at top…
Veljko
  • 1,422
  • 10
  • 34
  • 68
1
vote
1 answer

Android Studio Throws an error if a user reaches the character limit

I used the maxLength method. I want you to be notified "Limit characters here are 10 characters" I know the user can't add characters anyway, but I still want to be notified. How do i get when the user is still trying to add characters to throw him…
Ziv Sion
  • 93
  • 1
  • 10
1
vote
1 answer

Need to modify the edit view in Flask admin

I am working on Flask admin. Please check the following. I need to edit the existing record using that edit button shown above. My edit view is as follow : I need to add a field in edit view whose value appears in the image column shown in the…
Kathiravan Natarajan
  • 2,291
  • 5
  • 17
  • 39
1
vote
2 answers

Updating related tables in mvc ef

I have 6 related tables. I am using a view model to show the properties from all 6 tables in my view. I am able to add data in single transaction using the above structure. But while editing the data I get - "Store update, insert, or delete…
arpymastro
  • 511
  • 1
  • 10
  • 27
1
vote
1 answer

How is made the probable key words of EditView

(Sorry maybe the Title is sensless) How can I program, in Android, like what we obtain when we search for a contact in our phone contact list, I mean for example just when we write jac in the serch EditView we have under it a list like Jac k Andrew…
RiadSaadi
  • 371
  • 2
  • 7
  • 16
0
votes
1 answer

Model returned to controller by edit view is always null

I am trying to make a view that edits a list of predefined models. Therefore it is a strongly typed view that takes as parameter a list of models . I use custom Html helpers to edit the individual models. The Get view is displayed properly but…
Martin
  • 5
  • 1
  • 4
0
votes
2 answers

Edit View for the model that contains the List where T some another class

It seems I'm tangled up in broad daylight: I have a model classes public class Pilot { //.. other prop-s escaped private List FlightHours { get; set; } } public class FlightHoursEntry { public string Description { get;…
Artem Vertiy
  • 596
  • 6
  • 23
0
votes
1 answer

Android App - Aligning EditTexts doesn't work

I'm writing my first Android-App. The App should solve Sudokus for the user. So the interface should look like the typical Sudoku-Layout with some Buttons down below. For the number-fields i just used EditTexts. At first i used a ContrainsLayout.…
0
votes
1 answer

Android: Clicking the EditText on ListView FooterView makes the keyboard open and close, open and close

The code is very simply. There is an EditText on headerView and an EditText on footerView, make the items' height + headerView's height + footerView's height = the screen's height, after you click the EditText on HeaderView, then click the EditText…
Changwei
  • 644
  • 1
  • 5
  • 16
0
votes
2 answers

How to know when a user is done typing?

In Android Studio, I want to make a program where a TextView changes to an EditView when clicked. After the user is finished typing, I want the EditText to then change back to a TextView which shows the value that was entered. How do I do this? This…
0
votes
1 answer

Tabify Your SharePoint Forms: list to tabs (need to add more to jquery script)

I am using a very helpful script provided by Mark Rackley found here: https://www.youtube.com/watch?v=GSmuailCvKI (I made some minor adjustments but the script is found here http://www.markrackley.net/2015/12/03/tabify-your-sharepoint-forms/). The…
Rspktcod
  • 13
  • 5
1
2 3