Questions tagged [memo]

144 questions
2
votes
2 answers

Zend\Di\Di definitions and memory

In my ZF2 application, I use Zend\Di\Di to create all my class instances. The DI definitions are scanned using Zend\Di\Definition\CompilerDefinition and cached using APC. This avoids scanning the classes at runtime using slow reflection. If there is…
aimfeld
  • 2,931
  • 7
  • 32
  • 43
2
votes
1 answer

Autosize a memo

Possible Duplicate: Can I make a TMemo size itself to the text it contains? Need to do autosize memo: height and width. I autosize the height as follows: function TForm1.AutoSizeMemoY(Memo: TMemo): word; begin Canvas.Font := Memo.Font; Result…
dedoki
  • 709
  • 4
  • 14
  • 24
1
vote
3 answers

Display memo fields in VFP

How to display the content of memo fields with select command? If I have a table (vendors) with the following fields: id_vendor C(10),address M and I want to display all the content with "select * from vendors" I receive only the type of field but…
1
vote
1 answer

How to backup memo and task in android

I have a user requirement to backup memo and Task. I don't have any idea about where is the location actually stored these things in android phone. Is there any default uri/path is reserved for this? Can anyone clarify these things in little bit…
agiles
  • 1,711
  • 3
  • 17
  • 18
1
vote
1 answer

Long arrays caching issues

I noticed lately that scanning long arrays with a loop makes the performance of caching decrease. Can you guys please explain why this happens and what are some work arounds of this problem. I'm working on a linux platform with C/C++
Mike G
  • 4,829
  • 11
  • 47
  • 76
1
vote
2 answers

How do I extract data from a FoxPro memo field using .NET?

I'm writing a C# program to get FoxPro database into datatable everything works except the memo field is blank or some strange character. I'm using C# .Net 2.0. I tried the code posted by Jonathan Demarks dated Jan 12. I am able to get the index but…
Madhu kiran
  • 73
  • 1
  • 2
  • 6
1
vote
0 answers

React memoize inside a map function

Here is my problem: I'm making in Ract a clone of Google Forms. The structure of the data in the Redux store is as follows: sections: [ { sectionTitle: 'first section', questions: [ { questionType: 'checkbox', question: 'some…
1
vote
1 answer

PHP UPDATE MSDB datetime memo Please Help me not go crazy

In PHP I am connecting to an access database using ODBC. I update several fields no problem, but I am having a hell of a time getting two of them to work. First one is of type date/time in access. Second one is of type memo in access. $mdbFilename =…
Andrew
  • 69
  • 1
  • 10
1
vote
0 answers

React.memo(Component) is rendeing by parent component rendering

I have this optimization problem: My memo child component is rerendering when I change a state in parent, export default React.memo(connect(stateToProps)(React.memo(Compromisos))); Currently, I am expoting him like that (I also proved to delete one…
1
vote
1 answer

React component re-rendering even after using memo and useCallback

The entire list gets re-rendered instead of the particular selected list item upon state change https://codesandbox.io/s/lfgxe (Refer the console to see components that gets rendered) When the "add to the main array" button is clicked, the…
SB Praveen
  • 49
  • 6
1
vote
1 answer

Memo Library - failed to find resources

I am implementing the Memo Library as stated in the documentation: dependencies { def memo_version = "1.0.0" implementation("com.zeoflow:memo:$memo_version") implementation("com.zeoflow:memo-annotation:$memo_version") …
Lamofep
  • 13
  • 2
1
vote
1 answer

React.MEMO() fails to work with hooks inside of it (probably useDispatch) within KendoReact

I have a child filter input componenet inside kendo grid and my goa is stoping that components from rendering again and saving "input text" inside input field
Mladen Milosavljevic
  • 1,720
  • 1
  • 12
  • 23
1
vote
0 answers

Memory Consumption for React.memo

Just want to know how memo works for different screens? Like if I have different screens in my app how much memory will it consume? And if I am using a Stack Navigator will the memorization work until my app is open for all the screens in Stack even…
1
vote
1 answer

React.memo re-renders recursive components without running the areEqual function

I have a page with comments. One comment can contain a children field which is an array of comments. I have a component CommentGroup which renders a CommentCard and if the field children is found, another CommentGroup is rendered with the…
Y_Djin
  • 21
  • 4
1
vote
1 answer

Delphi create letters with for loop

As you know in Excel column names are letters. When it reaches Z it continues with AA-AB-AC. Is it possible to make a similar function in Delphi XE7 + for loop? I've tried: var i:integer; str:string; begin str:='a'; for i := 0 to 26-1 do begin inc…
Sheshman
  • 88
  • 3
  • 10