All Questions

1
answer

Is it possible to compare numeric values in strings without doing cast for type Number?

I have two numeric values that are retrieved in strings and I would like to know if there is a way to compare them to see which numeric value is larger but without having to convert to type Number (as Integer , Double and% wi...
asked on 18.09.2017 / 19:39
1
answer

Edit Currency Delphi Firemonkey

I need to format an edit in the format 0,00 in FireMonkey , preferably using the ChangeTracking event. I tried using the following procedure that did not work. procedure FormatadorMoeda(pEdit: TEdit); var loStr: string; loDo...
asked on 11.11.2017 / 20:28
1
answer

How to use expanded property in C #

I have a problem, I created a class containing the following property: public class MinhaClasse { public int Idade {get; set;} } However, when I do this: public class MinhaClasse { public int Idade { get{ return Idade;...
asked on 16.12.2017 / 22:06
1
answer

Overlay polymorphism is required?

In overlapping polymorphism is it mandatory that the method of a parent class that will be superimposed on a subclass is abstract? Is there an exception for some OOP language?     
asked on 04.01.2018 / 17:48
1
answer

How to solve the code duplication problem?

In Wordpress I'm creating a custom screen in the admin area. For this I am extending my class customProductsListTable to class WP_List_Table : class customProductsListTable extends WP_List_Table I have another class for anot...
asked on 09.10.2017 / 13:10
1
answer

Text skirting image / round div

I'm in doubt about how to make the text work around the image / round div. Follow the example: Maybewecouldstartlikethis:html<divid="texto-esquerdo"> <p> Lorem Ipsum é simplesmente uma simulação de texto da indúst...
asked on 12.01.2018 / 13:43
1
answer

Enum as Object Value in DDD

After many searches on the internet, I came across many divergent opinions ... In my application, I created enum EstadoCivil {Casado = 1, Solteiro = 2, Divorciado = 3} . Can it be classified as an Object Value, or is it simply an enumer...
asked on 27.12.2017 / 12:13
1
answer

What is the best way to insert with SQL?

I say this because there are two ways, so I understood. You have the: INSERT INTO teste SET nome = "Lucas", sobrenome = "Alves"; And also the way: INSERT INTO teste (nome, sobrenome) VALUES ("Lucas", "Alves"); Question of speed, goo...
asked on 03.09.2017 / 04:57
1
answer

CSS + Java Script: Treating image larger than a circular div

Good morning !! Home I'm trying to do the following: I created a function that when clicking on the photo, send the photo to the circ%% circular, the problem is that if the image is bigger than the div, it overlaps everything, I would like to t...
asked on 04.10.2017 / 13:56
2
answers

Create TEdit Array at run time;

With the following code, I create an X quantity of edits: var x : integer; var2: integer; begin var2 := strtoint(edit2.Text); for x := 1 to var2 do begin ArrayEdit[x] := TEdit.Create(Self); ArrayEdit[x].Parent:= Self; Arr...
asked on 21.09.2015 / 19:30