All Questions

2
answers

How to allow the user to resize a label after creating it in Java?

I am creating a tag editor, which consists of a panel that is where the label is loaded, these can contain text or images, once created I would like the user to be able to resize them. I already have the other functions (move it...
asked on 30.06.2017 / 23:52
2
answers

problem when executing event with a certain number of characters

I need to execute an event in a textfield called "txtcodigo" when it reaches a length of 8 characters, I did it in such a way that when the length is greater than 7 then it calls the "ticket" function, however it is doing when writing 9 characte...
asked on 12.06.2017 / 20:08
2
answers

Problem filling vector

I made a method to fill a vector and another one to show it, when I execute the code it shows me the vector arriving only with values 0 This is the main int main(int argc, char** argv){ int opc, tam = 5; vector<int> vec(tam); llenarV...
asked on 16.06.2017 / 03:38
1
answer

Chart Js, multiple lines in a label [closed]

Requirement To be able to insert two lines in a label, that is to say that when you press "HERE TWO LINES" the two lines you assign are activated or deactivated. Image: Expected link var ctx = document.getEleme...
asked on 09.06.2017 / 12:27
1
answer

How can I make a table perform the functions of deleting and modifying? Without having to make 2 independent tables

I'm just starting to use PHP and the forms issue, so I still have questions about how to use the functions. HTML code <legend>ELIMINAR</legend> <table class="table table-striped" summary="Tabla generica"> &...
asked on 26.06.2017 / 07:56
3
answers

How to subtract between 2 hours in PHP

I'm using Codeigniter and I want to subtract it in the view. <?php $cadena = strtotime($seguimiento->horaInicio); $cadena = date("H:i", $cadena); echo $cadena; $cadena2 = strtotime($seguimiento->horaTermino); $cad...
asked on 04.07.2018 / 13:11
1
answer

I can not return the name

I am trying to get a method of a class to return a string that has been entered through the keyboard, showing it in a cout. However, I'm doing something wrong, because even though the program compiles I can not show the introduced string. Still...
asked on 14.06.2018 / 08:53
3
answers

Php as a function of javascript

Good evening, someone to guide me, I want to execute PHP code from a function in js, I can do that. I have tried and it just throws the result in an input text, but it does not send me the alert I can do this, Thanks in advance. function f...
asked on 12.06.2017 / 01:47
1
answer

No MysqlInd does not work fetch_assoc or get_result ()

I do not have mysqlInd then it does not work fetch_assoc sample Fatal error: Call to undefined method mysqli_stmt :: fetch_assoc () ni get_result() Following this solution I'm trying to store all the columns in the queried...
asked on 20.06.2018 / 12:14
1
answer

Adjust large text contents to dropdown

I have a menu made with Bootstrap 3, this has sub menus and the titles of these sub menus are very large making the final result look like this. What I need is that those texts that I actually show are fields of a database and what I ne...
asked on 24.06.2018 / 04:46